Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running code ONLY when a report is printed

Status
Not open for further replies.

dafyddg

Programmer
Dec 2, 2003
92
GB
Hi,

I need to run code each time a report is printed to basically update the status of the invoice represented by the report. I used the OnPage event of the report for this but found that this code runs when the report is both printed and previewed.

I want my code to run only when the Report is printed.

Is there any event that covers this specific event or is there anyway around the problem.

Thanks
 
As far as I know, therer is no seperation of the events (preview / print). I have always just used a seperate procedure for the update to the 'invoice' data.





MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top