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!

Change text on report

Status
Not open for further replies.

edluke

MIS
Jul 5, 2001
26
US
I have a form that allows a user to select criteria for a report. I want them to be able to type a name they want for the report on the form, and have that name appear on the report in a control in the header section.
I can't seem to be able to change any of the controls i've created on the report, i get errors in the code.
 
Hi edluke,

I think that this can be done by assigning a text box on your report that has the controlsource referencing the control on your form. You really wouldn't need any code. For instance the control source for your text box will read:

[Forms]![Criteria]![txtName]

Hope it helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top