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

Getting Form Value to show on Report

Status
Not open for further replies.

GoDucks

Programmer
Jul 7, 2005
5
US
I have a form "ScoreSubmision2" that has data on it that applies to all the records in my report. the recordsource of the report is a table. On the report I have a couple unbound textboxes because that data is not in the table. I want to pull that data from the form. I have set the control source for the text box on the report to =Forms!ScoreSubmision2!txtTitle.Text but when I show the report the title field just shows #Name?. Any help, the form ScoreSubmision2 is still open when I show the report.
 
Don' use the text property since in Access the Text property is only available when the control has the focus. Try just:
=Forms!ScoreSubmision2!txtTitle
or
=Forms!ScoreSubmision2!txtTitle.Value

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top