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

On Activate

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

Using the On Activate event my code populates text controls on a unbound subreport based on criteria on my main report. When I preview the report everthing looks ok. When I print the report the sub report data does not print?
Any help would be apprecated.

Thanks

Matt


 
Have you verified if the OnActivate event is trigerred during printing (add a Msgbox statement in your event procedure)?

Do you preview then print from preview or directly print?

?Try the same code in the ReportOpen procedure

 
Thanks for your reply.

Added the same code into the Report_Print() event procedure and it works perfectly.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top