Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 7th, 2008, 07:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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


 
Old January 7th, 2008, 08:46 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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
 
Old January 7th, 2008, 09:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, it work
Thanks you very much.

Mateen







Similar Threads
Thread Thread Starter Forum Replies Last Post
Order by clause priyan.viji SQL Language 2 December 17th, 2007 02:45 AM
WHERE Clause, LIKE, and Nulls jurio SQL Language 5 May 28th, 2007 02:53 AM
error in FROM clause amrit_82 Classic ASP Professional 2 July 13th, 2004 09:14 AM
More than 1 WHERE clause? onlyu2 MySQL 1 March 26th, 2004 01:48 PM
HAVING clause Adam H-W SQL Server ASP 2 February 11th, 2004 01:37 PM





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