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

exiting report causes errors during report generation

Status
Not open for further replies.

mainbyte

Programmer
Feb 16, 2001
6
US
Using vb6 (sp4) and the supplied crystal reports, is there a way to exit the report during generation without totaly killing cr. In other words a user clicks to generate a report, while the report is previewing (and still loading data) the user clicks the exit button. this usaully causes the whole program to crash. I have tried using err trapping with limited success. I do have all reports pointing to 1 control on my switchboard. I have removed the windowcontrols, but then can find no way to close the report.

some alternatives would be:
1. report does not show until completed
2. alternative way to close report other than the windowcontrols
3. learn the correct way to do this
4. go back to playing quake full time

Other than this cr is working very nice.

thanks
ron
 
mainbyte: As an alternative to full-time Quake play why not suppress the exit button from the viewer and have some other control close the preview window for you. That way your user cannot exit until preview completed David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Thanks, That is what I will do. I just wanted to make sure that I was not missing something.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top