|
-
October 10th, 1999, 11:59 PM
#1
How to use Crystal Reports without using Crystal Report control
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
-
October 11th, 1999, 02:11 AM
#2
Re: How to use Crystal Reports without using Crystal Report control
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
#3
Re: How to use Crystal Reports without using Crystal Report control
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.
-
October 11th, 1999, 10:01 AM
#4
Re: How to use Crystal Reports without using Crystal Report control
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 :-)
-
August 10th, 2000, 11:09 PM
#5
Re: How to use Crystal Reports without using Crystal Report control
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 [email protected]
Thanks and Regards,
Jatinder
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|