|
-
Feb 10th, 2009, 03:48 AM
#1
[RESOLVED] DataReport object not closing?
Almost all my Datareports I display using the "Show" method so the user can decide if they want to print the report.
And everything is fine when I close the app. wether they print the report or not.
2 of my Datareports I use the "PrintReport" method
Code:
Datareport1.PrintReport
But when I'm in the IDE and I close the app after the "PrintReport", I have to use the IDE to manually stop the program.
If if switch the "printreport" to "show", everything shutsdown fine, even if I print the report. I'm guessing the the report object is staying open but there is no "close" method for the datareport.
I just recently stopped using "End" and I'd like to keep it that way.
Any help would be appriciated, Thanks
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
|