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!

Having problem using form field as query criteria

Status
Not open for further replies.

ksolomon

MIS
May 6, 2002
18
US
Hi,
I have a form that I have 2 dates on. I am trying to use these dates as criteria for a query:
Between [Forms]![Form Name]![Start Date] AND
[Forms]![Form Name]![End Date]

The query is running as if that criteria statement is not there and it includes dates that are not between the start and end.

Any ideas?
 
Are your date guys on the form defined as DATE types? If they're default text guys, it may not make the passing of the data correct.

Otherwise, this should be very easy, as I've done it a 1x10^6 times...

JMH

If at first you don't succeed, skydiving probably isn't for you!
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top