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

An Access Report Question

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
When I open a report I have a string value that it stored in the variable STORAGE.

(it's written in the on open event)

That part works fine.

How do I get that string value to appear in a text box that is on the report?

I have tried :
Text34 = STORAGE

But I keep getting an error that says I can't assign a value to this object.

Any suggestions?
 
You will need to assign the value to
Code:
Text34
in the Format event of the section that contains the control.
Make sure that the
Code:
STORAGE
variable is declared in the general section of your code so that it will be in scope when the Format event fires... (Its o.k. to assign the value of STORAGE in the report's open event.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top