Cancelling of a Report that is Printing
Posted: Fri Aug 07, 2009 12:45 pm
by Michael >> Thu, 13 Jan 2005 20:18:13 GMT
Morning All,
When you are printing you get the screen that has a "Cancel" and "Stop" button.
What I was wondering was how people handle the clicking of the "Cancel" button.
At present we check every time a frame is printed to see what the return status is. If it is anything other than Print_Successful then we return from the routine immediately. This means if you have a lot of frames then the code can get large and if you forget (or are learning the system) then a lot of wasted paper.
Doing it this way works, but I'm not sure that this is the most efficient way of doing it.
Cheers
Michael
Morning All,
When you are printing you get the screen that has a "Cancel" and "Stop" button.
What I was wondering was how people handle the clicking of the "Cancel" button.
At present we check every time a frame is printed to see what the return status is. If it is anything other than Print_Successful then we return from the routine immediately. This means if you have a lot of frames then the code can get large and if you forget (or are learning the system) then a lot of wasted paper.
Doing it this way works, but I'm not sure that this is the most efficient way of doing it.
Cheers
Michael