Referencing form field for query between

mateogp

Registered User.
Local time
Today, 05:42
Joined
Aug 11, 2004
Messages
43
Hey All,

I have a question regarding referencing a form using dates between.

Currently I have it setup as:
Code:
Between [Start Date] And [End Date] 
on the query.

I want to reference a form, which i figured would be like this
Code:
 Between [Forms]![frmSBReports]![txtStartDate] And [Forms]![frmSBReports]![txtEndDate]

But this doesnt work! :confused: What did I do wrong here? Any help as always is greatly appreciated!

Thanks!
Mateo
 
Can you use the build option (right mouse click in criteria field) to select the desired field?
 

Users who are viewing this thread

Back
Top Bottom