Print an access Report from Navision

sloors
Member Posts: 20
Hi i need to print from navision an access report .
Can it is possible directly or through an ocx object??
Thanks in advance
Can it is possible directly or through an ocx object??
Thanks in advance
0
Comments
-
use for this the 'Microsoft Access 10.0 Object Library'.
And here the classes "Reports" and "Report". Start with Class "Application".
Search the forum for Automation and Word or Excel or Access to get an example.
Also read for this the VBA onlinehelp (VBAAC10.CHM).
But for using the Automation Variables u must have licensed the granule 1750.
RegardsDo you make it right, it works too!0 -
thanks for response.
](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,)
but i search into forum and i don't fonud an example for my case. please can you indicate a link from thi s example?
thanks a lot!! ](*,)0 -
sorry, but i can't give you a source example.
I can only give you tip for the Automation Microsoft Access 10.0 Object Library.
Before you start, u must know how to handle automations in NAV (there is also an example, i think it was for word or excel, in the Application Developers Guide). Then, if you know this, read the online vba help of access VBAAC10.CHM (see picture).
There you can see the class model. Every class that you need (like Acces Application, Access Reports, Access Report), you must declare as variable in NAV.
In the online help of Access there are also some examples. So click on then to understand it better. It's not so easy but it is also not a miracle.
To understand NAV and Automation handles (here MS Office products) you can take a look into the table excel buffer. Here you can see how to create an instance of a office application and run there some functions or what else.Do you make it right, it works too!0 -
Sorry, if you realy use Financials (1.20 - 2.60) you doesn't have the excel buffer table (but here on the downloadsection of the main site there are also some examples for ms office automations)Do you make it right, it works too!0
-
thanks mission complete!0
-
you found a solution?Do you make it right, it works too!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions