Click to See Complete Forum and Search --> : How to use Crystal Reports without using Crystal Report control
Jaime
October 10th, 1999, 11:59 PM
Hi..
I want to program a DLL for using Crystal Reports. Since this isn't a Form, I couldn't use the Crystal Reports control... how can I do it then?
Thanks
Jaime
Crazy D @ Work
October 11th, 1999, 02:11 AM
If you purchase Crystal Reports developer suite (or whatever it's called), you get besides the CR report designer, a bunch of dll's (CR API) with which you can manupilate/show a report without using the ocx. I've used it and it works pretty easy.
Crazy D @ Work :-)
October 11th, 1999, 09:58 AM
With your Crystal Reports runtime, you get the Crystal Report Print Engine (CRPE32.dll), which contains all the functions needing to show/print the crystal reports. You can use this dll without buying the Crystal Reports Developer Suite.
eg., OpenPrintJob(FileName as String) as long opens a report and StartPrintJob(PrintJob as long) prints it. There are various functions which can be invoked to control the display/printing of the report.
Crazy D @ Work
October 11th, 1999, 10:01 AM
True, but since the documentation that comes with the suite is quite worth it (I think...) ...
And since you can control everything of the report from within code, it's quite handy to have it all (at least I had big help from the helpfile and the book)
Crazy D @ Work :-)
jatinder
August 10th, 2000, 11:09 PM
Hi All,
I am trying to use CRPE APIs in my C++ code to export a .rpt file in HTML format. I have linked the crpe32.dll for API support.I have been successfully able to create the report in HTML format using the APIs: PEExportTo and PEStartPrintJob. But if I run my code multiple times then the API PEStartPrintJob fails with errorcode=529 or errocode=999.I can't figure out why it is failing? Moreover sometimes the API PEStartPrintJob doesn't fail and don't print the HTML either.This sounds very unusual?
If any one of u can help me out to solve my problem then send me mail at jatinders@riskinc.com
Thanks and Regards,
Jatinder
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.