query question about Between

  • Thread starter Thread starter Torpi
  • Start date Start date
T

Torpi

I know this " Between #02/02/2005# And #28/02/2005#" would work, what about
if I want to prompt the user to enter the dates, would this "Between # &
Like [Enter Customer Start date: ] & "*"# And # & Like [Enter Customer End
Date: ] & "*"# work? Help Pls
Torpi
 
Hi,


In the criteria line, type

BETWEEN [Enter Customer Start Date: ] AND [Enter Customer End Date: ]


You need a delimiter only if you type the constant itself, NOT if you use
the name of the container that store the value.


Hoping it may help,
Vanderghast, Access MVP
 
Whar are you trying to do?

I never used Like comparison operator (operating on String values) within
BETWEEN ... AND ... operator (generally for numeric / date values)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access not recognizing Date Format 3
help date and sum 3
query help 2
calculated date field criteria... 7
CalcWorkDays error 1
SQL query help 6
between parameter query 1
Show record based on this criteria 2

Back
Top