p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Access (http://p2p.wrox.com/forumdisplay.php?f=18)
-   -   date between clause (http://p2p.wrox.com/showthread.php?t=65066)

mateenmohd January 7th, 2008 07:32 AM

date between clause
 
I use following query to preview the records.
but it only one date ask and display the records


SELECT WORK_LOCATION.*
FROM WORK_LOCATION
WHERE PROPOSED_STR_DATE between [] and [];

how can use / run query in access that it ask two date and
then display the records ?

when I use only one date ie.
where propose_Str_date=[] then it is ok

I want to display records by two date how ?

what will be query syntax ?

Thanks
Mateen



mmcdonal January 7th, 2008 08:46 AM

Assuming the field is a date field, try this on the Criteria line:

Between [Enter a start date:] And [Enter and End Date:]

Did that help?

mmcdonal

Look it up at: http://wrox.books24x7.com

mateenmohd January 7th, 2008 09:28 AM

yes, it work
Thanks you very much.

Mateen




All times are GMT -4. The time now is 06:32 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.