>>>Is there a way to determine whether the user actually printed a report in Preview mode? Like, if clicked on the Close button, return False, if clicked on Printer button, return True. Thanks!
>>>
>>>Regards, Renoir
>>
>>
>>You can call a UDF from the report.
>>
>>IF WEXIST("Printing")
>> * The user is printing the report
>>ENDIF
>
>Wouldn't it return True whether the report printed or was just previewed since the report runs either way? You may need to explain a bit further. You may recall that it takes TWO swipes with the the 2x4 across my forehead for some things to get through... :)
>
>Renoir
No. The "Printing" window is the one that's displayed when you actually send the report to the printer.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer