Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / August 2006

Tip: Looking for answers? Try searching our database.

Criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinnie - 11 Aug 2006 09:54 GMT
Hi,

I've got a query that asks you for a specific date and returns details on
that date: [What Date?] in the 'Criteria' field

What I'd like to do is return details between two certain dates. In other
words, in the 'Criteria' field return between [Start Date?] and [End Date?],
but I don't know the syntax, or even if its the right way to go about this.

Any help much appreciated!

Thanks,
pietlinden@hotmail.com - 11 Aug 2006 10:44 GMT
Wow.  If you think for just another second, you'll have the answer.
(waiting...)

SELECT Orders.OrderID, Orders.OrderDate
FROM Orders
WHERE (((Orders.OrderDate) Between [Enter start date:] And [enter and
end date:]));
Vinnie - 11 Aug 2006 11:57 GMT
Nice one!

I see I was close, yet very far way!

Thanks again...

>Wow.  If you think for just another second, you'll have the answer.
>(waiting...)
[quoted text clipped - 3 lines]
>WHERE (((Orders.OrderDate) Between [Enter start date:] And [enter and
>end date:]));
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.