|
-
May 7th, 2006, 06:15 PM
#16
Re: Listing Data between two Dates
Use "&", not "+", to concatenate strings, but fullSDate = dtpStartDate, so you don't have to calculate it, and fullEDate is just DateAdd("d", 7, dtpStartDate).
However, tblBooking!Date would have to be the full date, not just "the number for the day", for that code (either way, yours or mine) to work.
What Gary said, though, saves you a lot of work, because you'd only have records that fell between those dates, so you wouldn't have to test anything.
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
|