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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running code when a report has been printed

Status
Not open for further replies.

Griff389

Technical User
Jun 27, 2003
82
0
0
GB
I have a line of code which i'd like to run whenever a user prints one of my reports.

Can someone help me out on where best to add the code. I thought perhaps one of the On Print sections, but the code runs even if you just open the report to have a look at it.

Thanks

Griff
 
I assume you will print the report off a button?
if so then then put code on the button after the print code

Hope this helps
Hymn
 
I just let the users print it whichever way they want, usually from the standard file, print menu or print toolbar button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top