Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record for current month

Status
Not open for further replies.

Zoom1234

Programmer
Oct 30, 2003
116
BE
Hi,

How can i get a record for startdate < currentdate and enddate > currentdate ?
Is there any built in function in ACCESS ?

Thanks
 
Zoom1234,
[tt]
Select *
From YourTable
Where startdate < Date and enddate > Date
[/tt]


Skip,

Want to get great answers to your Tek-Tips questions? Have a look at faq222-2244
 
Thanks SkipVought,
However i am not getting desired result. I may be doing something wrong.

My startdate is 6/10/2004 (ie 6th July). however the query
where startdate < date is not displaying the above record.

Any suggestions ?
 
Thanks SkipVought,
However i am not getting desired result. I may be doing something wrong.

My startdate is 6/10/2004 (ie 10th July). however the query
where startdate < date is not displaying the above record.

Any suggestions ?
 
What is the value of enddate ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Zoom

Is this an unbound combo box? How are you controlling what records are being displayed?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top