Jul 15, 2004 #1 Zoom1234 Programmer Joined Oct 30, 2003 Messages 116 Location BE Hi, How can i get a record for startdate < currentdate and enddate > currentdate ? Is there any built in function in ACCESS ? Thanks
Hi, How can i get a record for startdate < currentdate and enddate > currentdate ? Is there any built in function in ACCESS ? Thanks
Jul 15, 2004 #2 S SkipVought Programmer Joined Dec 4, 2001 Messages 47,492 Location US 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 Upvote 0 Downvote
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
Jul 15, 2004 Thread starter #3 Zoom1234 Programmer Joined Oct 30, 2003 Messages 116 Location BE 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 ? Upvote 0 Downvote
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 ?
Jul 15, 2004 Thread starter #4 Zoom1234 Programmer Joined Oct 30, 2003 Messages 116 Location BE 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 ? Upvote 0 Downvote
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 ?
Jul 15, 2004 #5 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR 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 Upvote 0 Downvote
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
Jul 16, 2004 #6 willir MIS Joined Aug 5, 2003 Messages 2,754 Location US Zoom Is this an unbound combo box? How are you controlling what records are being displayed? Upvote 0 Downvote