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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Cancel' Button in report launched from VB not working

Status
Not open for further replies.

AlexF

IS-IT--Management
Jul 12, 2000
2
US
I use a VB6 interface to launch reports created in Crystal Reports 7. After setting up the window and report options, I start the print job using this command:

Call PEStartPrintJob(iPrintJob, 0)

The report(s) run fine, however I cannot click 'Cancel' on the CR Parameter dialogue box. The reports always run anyway. In the Designer you can always click 'Cancel' from the Parameter dialogue box to stop the report from running.


Has anyone been able to get the reports to 'Cancel' when using CRPE32.DLL in VB?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top