--SNIP--
>>I would like to run a second report containing "Instructions for Completion" only if the user chose to print from the print preview toolbar. Something along the lines of
>>
>>IF (printbutton is clicked)
>>report form 1
>>report form 2
>>ELSE
>>release window
>>ENDIF
>>
>>
>>How can I catch the print button?
--ENDSNIP--
>Here is a trick from Cathy Pountney:
>
>Create a variable IsPrinted outside of your report
>private IsPrinted
>IsPrinted = .f.
>
>In the report at the summary section on exit put:
>
>_VFP.SetVar('IsPrinted',wexist('Printing...'))
Great! My thanks to you and Cathy :)
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....