>
>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")
--sb--