Adrianna
Registered User.
- Local time
- Today, 17:58
- Joined
- Oct 16, 2000
- Messages
- 254
Okay....I'm usually pretty clear headed about figuring things out, but this has got me all tied up this morning:-o
SELECT tblLeave.*
FROM tblLeave
WHERE ((([Enter Date Slection:]= tblLeave.Depart)OR(([Enter Date Slection:]>tblLeave.Depart))) OR (([Enter Date Slection:]=tblLeave.Return)or[Enter Date Slection:]<tblLeave.Return));
I'm trying to prompt the User to Enter the date that they would like to check. When the date is entered, I want to query for all of the records:
WHERE the UserDate ([Enter Date Selection] ) is equal to or after the Departure Date ([Depart]) or equal to or before the Return Date ([Return]).
Please help!
Thanks
SELECT tblLeave.*
FROM tblLeave
WHERE ((([Enter Date Slection:]= tblLeave.Depart)OR(([Enter Date Slection:]>tblLeave.Depart))) OR (([Enter Date Slection:]=tblLeave.Return)or[Enter Date Slection:]<tblLeave.Return));
I'm trying to prompt the User to Enter the date that they would like to check. When the date is entered, I want to query for all of the records:
WHERE the UserDate ([Enter Date Selection] ) is equal to or after the Departure Date ([Depart]) or equal to or before the Return Date ([Return]).
Please help!
Thanks