|
-
Apr 4th, 2007, 04:30 AM
#1
Thread Starter
Junior Member
[2005] Querying A Table
Hi, i'm using the date picker to try and allow the user to select two dates and the let them run a table query to find all the records between the two dates.
I got the date picker outputing the strings date1 & date2 and these are getting displayed in text boxes.
1.) How do i get rid of the time that is thrown in with the date picker? only need the date.
2.) how can i create a query that allows me to have the String 'date1' included in it without defining any values.
e.g.
SELECT BookingID, [Date Of Booking], [Date of Arrival], [Date of Departure], CustomerID
FROM [Booking Table]
WHERE Date_Of_Booking >= date1 AND Date_Of_Booking <= date2
Thanks for the any help,
Ewan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|