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!

Can you add programmed items to reports?

Status
Not open for further replies.

munger

Programmer
Feb 28, 2001
23
0
0
IL
I worked hard and managed to get some important values calculated in code. Now I want to make a report and add these values to text boxes in the report.

Like: txtPlan.value=lngChardonnayPlan

I have not succeeded and I suspect that I don't know where to put the event procedure.

Thank you all for thinking...

Munger
 
How about putting it in your Reports 'On Open' event?
[yinyang]
 
I tried that and it didn't work at all.

I put the code in On Open with ' msgbox lngChardonnay ' and after that the line that should put it into the text box: txtPlan.value=lngChardonnay but nothing happens and the report comes without it.

 
Or in the On Format event of the section where your text boxes are.
 
Hmmmmm, strange? How big is your database?...could you e-mail me a copy of your MDB file so I can have a look?

Shannon.Patangata@treetech.co.nz
[yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top