how to run crystal report by using OCX

rictsang
Member Posts: 8
Hi,
I am using to run the crystal report in 3.6. For my understanding, I need to use OCX to connect to the crystal report in order to run. I wonder if anyone can provide the simple C/AL code example, for example, what OCX should be defined, how to call the crystal run in navision.
Thanks,
Rich
I am using to run the crystal report in 3.6. For my understanding, I need to use OCX to connect to the crystal report in order to run. I wonder if anyone can provide the simple C/AL code example, for example, what OCX should be defined, how to call the crystal run in navision.
Thanks,
Rich
0
Comments
-
I also need to call Crystal reports from Navsion.
Found this OCX C:\WINDOWS\System32\CRYSTL32.OCX
Anyone done this before? Can it call a .rpt file? Any ideas are welcomed. Thanks.0 -
Hi All,
Do not use the OCX, use the Automation. It has a lot more usefull functions.
Have you searched this forum? Or have a look at http://www.mbsonline.org/forum/home.asp
and search in this forum.
Also have a look at the helpfiles and documentation from Crystal Reports. There are examples in VB or C++, but they are very helpfull, too.
Hope this helps a little,
Frank0 -
Hi FPulsfort,
Thanks for the reply.
You mentioned the automation server, are u refering to the RDC report designer component or something else? I am not too familiar with the crystal components.
Basically, we want to launch ready made crystal reports from navision forms and pass in parameters to run the crystal report. Is that possible with the automation server? I need some concepts to jump start the implementation.
Thanks so much.
Weird... the site is not available..
http://www.mbsonline.org/forum/home.asp0 -
Hello Sylvia,
I have done an implemetation of Crystal Reports in an other programming language (vfp) long time ago.
Have a look at the Documentation in bookform (no file!) which should be in your Crystal Report box. There is an example of how to start!
You can start an existing Report an give some paramters with the Automation Server!
The side i mention has been active till yesterday. I think they work on it an it will available very soon!
Try to create a variable of Type Automation and Subtype "Crystal Report Control". Then you have Properties and Methods (e.g. ReportFileName, PrintReport) to work with a report.
Greetings,
Frank0
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