Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capturing even when crystal finishes creating report

Status
Not open for further replies.

khnp

Programmer
Oct 15, 2003
5
0
0
US
I am printing crystal reports programatically using a VB.net app. I am calling the app from a CTD 2000 app and must capture the event when the crystal reports engine finishes the report to return to the calling app. Is there a fuction in crystal that will tell me when the engine is finished creating the report?

crxReport.Database.Tables(1).SetLogOnInfo "MyServer", "MyDatabase", "User", "Pwd"
crxReport.PrintOut True
'Capture event here
Set crxReport = Nothing

Thanks in advance
 
The PrintingStatus object contains a Progress property that allows you to check the result of the print job...I don't think it behaves exactly like an event...is that what you are looking for? It does seem to have the following odd behavior in CR 9, at least currently:

 
seems like you could create your own event and the fire it when the report completes.


Regards
Chuck LaRue
ADRS Computer Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top