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

Problems with report printing from a form

Status
Not open for further replies.

PinkEater

Technical User
Oct 3, 2002
6
US
Using a command button on a form to print a report I can't get 2 fields that are calculated at the time the report is made to print. All the other fields print. For debug I made it:
Me.Summary = "Testing 1,2,3,..."
I use the On Activate event to run the code.
If I open the report by itself it works.
I set a break point and the code is executed.
Debug.Print Me.Summary shows it in the Immediate window.
Only when I print the report from the form command button it doesn't work.
Any suggestions?
 
Maybe the report is not calling the on activate. This happens if it is already open. Try On Format event

Best of Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top