Mar 4, 2005 #1 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.
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.
Mar 4, 2005 #2 traingamer Programmer Jun 18, 2002 3,270 US 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 Upvote 0 Downvote
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
Mar 4, 2005 Thread starter #3 pelleg123 IS-IT--Management Mar 4, 2005 2 US Thanks, Greg. That did it! Upvote 0 Downvote