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!

Link field to form

Status
Not open for further replies.

kcmark

Technical User
Nov 2, 2002
63
US
I am writing a report that needs to pull a date field from a form. I am using the following command in the control source line of the report field, but it is giving me an #Name error on the report. Any idea what I am doing wrong?

=[Forms]![Pmt_Main]![PR_Date]
 
The form must be open at the time the report is previewed or printed for this syntax to work. I am betting that you have the form closed when you tested the report.

let me know.

[COLOR=006633]Bob Scriver[/color]
MIState1.gif
[COLOR=white 006633]MSU Spartan[/color]
 
I figured it out. The form I was calling was actually a subform and I forgot to include the parent form in the reference - a rookie mistake - uggggggghhhhhhhhhhhh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top