Nadya, you advised Mark:
>
How do you print it? Is it VFP report? If yes, you can do the following trick: put in the summary OnExit:
>>_VFP.SetVar('PrintCompleted',wexist('Printing'))
>
>So, if your report would be printed till this point, this variable PrintCompleted would be set to true. You have to set it to .f. before each report invocation. Also make this variable private.That would set one logical memory variable named PrintCompleted to .T.. I presume that you would then REPLACE a field in the table with
based on the value in PrintCompleted.
Can this be done in the OnExit of the detail band to mark each record of a table as having been printed when a selected subset of the table is included in the report?
Thanks,
Randy Bosma
VFP - Because life is too short to code in something else...