Hi!
You may try to setup printer to print into file or into non-existing printer just before REPORT FORM command, so user cannot print. However, I don't know if it will work.
You may try to use Windows hooks in API functions, however, to catch if something printed.
But seems more simple way is just ask user after report preview if he/she printed it. ;)
>When a report is previewed, is there a way to avoid having the print icon on the report toolbar? (or a way to know if the report was printed from the preview) I need to know if a given report is viewed or printed so that I can re-set some values in the tables.
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.