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

reference field in form from query

Status
Not open for further replies.

pelleg123

IS-IT--Management
Mar 4, 2005
2
US
What is the syntax to reference the value in a textbox in an Access form from a query. I thought this would work...

Between [frmSample]![txtSampleField1] And [frmSample]![txtSampleField2]

... but it doesn't.
 
try
Code:
[forms]![frmSample]![txtSampleField1] And [forms]![frmSample]![txtSampleField2]

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top