Posted 4 August 2017, 2:49 pm EST
I'm using Active Reports 2.0 to print some documents stored in a database with a program I wrote in VB 6.0.
The current way I have it implemented is that I have a flag stored inside the database, a field for a 1 or 0 to determine if that row of data has been printed or not. So basically I scan my database for any 0's, put those into a report, do a rptmain.show, then I change all my 0's to 1's and exit.
What I want to have happen though is to be able for the user to preview the report, then determine if they want to print it, and based on whether they choose yes or no to print the report, I change my 0's to 1's.
Is there a way to check if the print button was pressed and the document actually printed when I preview the report in AR 2.0?