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 / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Khalil Handal - 22 Jul 2007 18:36 GMT
Hi,
Is there a tutorial about how to find certain records between 2 dates?
pietlinden@hotmail.com - 22 Jul 2007 18:58 GMT
> Hi,
> Is there a tutorial about how to find certain records between 2 dates?

SELECT ...
FROM
WHERE MyTable.SomeDate BETWEEN Date1 and Date2;
Khalil Handal - 22 Jul 2007 19:11 GMT
hi,
I should put the dates manualy in this case.
I was wondering if I can put the dates in an unbounded object in a form and
see the records below?

>> Hi,
>> Is there a tutorial about how to find certain records between 2 dates?
>
> SELECT ...
> FROM
> WHERE MyTable.SomeDate BETWEEN Date1 and Date2;
Douglas J. Steele - 22 Jul 2007 21:55 GMT
You can refer to controls on a form as

SELECT ...
FROM
WHERE MyTable.SomeDate BETWEEN Forms!NameOfForm!NameOfControl1 and
Forms!NameOfForm!NameOfControll2;

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

> hi,
> I should put the dates manualy in this case.
[quoted text clipped - 7 lines]
>> FROM
>> WHERE MyTable.SomeDate BETWEEN Date1 and Date2;
Khalil Handal - 22 Jul 2007 23:51 GMT
Thanks Doug,

> You can refer to controls on a form as
>
[quoted text clipped - 14 lines]
>>> FROM
>>> WHERE MyTable.SomeDate BETWEEN Date1 and Date2;
 
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



©2009 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.