>>
>>You can do this:
>>
>>
>>llPrinted = .f.
>>REPORT FORM blah ....
>>
>>IF llPrinted
>> more stuff
>>ENDIF
>>
>>
>>Add a summary band to the report and in the OnExit expression, put the following:
>>
>>
>>_VFP.SetVar('llPrinted', WEXIST("Printing..."))
>>
>
>Cathy,
>
>It will not work with REPORT FORM ... NODIALOG. It's better to use SYS(2040) function.
_VFP.SetVar('llPrinted', SYS(2040)="2")
Thanks, though this requires report's modification.
Is there a way to know which printer was selected in PROMPT dialog and was it cancelled or not?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog