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

VBA back to REPORT - Rookie Question

Status
Not open for further replies.

rfhall3

Programmer
Feb 7, 2003
28
US
I created a NEW value in a VBA Detail 'on Print' EVENT PROCEDURE. It will have a numeric value (name is MyTot).

How do I need to define MyTot in the VBA module to be able to reference it in an Unbound Text Box (name is PrtTot) in a Repor Footer ? I assume I would see it in the Properties>Data>Control>Source selection. If not, how would I refrence it to print it ?

Thank you in advance for your help.

Bobby
 
i dont think you can change the value of a text box in the on print event put it in the on format event
Code:
me.PrtTot=mytot
 
Thank you. Once I made it PUBLIC, what you included showed me the correct format.

Bobby
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top