JamesMcS
Keyboard-Chair Interface
- Local time
- Today, 09:26
- Joined
- Sep 7, 2009
- Messages
- 1,819
Hi all - I've been trying to help stu_c out with his company car database. Basically all it has to do is take two dates and consult the hire table to see what cars aren't on hire between those two dates, and populate the list box with the appropriate car reg numbers. There's a query to find out which cars are on hire around those dates, and the list box's row source is basically a find unmatched records query.
It seems to work when either the start or end hire date matches a date that's already in the hire table, but not when the specified date range is inside an existing hire date. You'll see what I mean from the attached...
I'm missing something glaringly obvious here, but what is it??
It seems to work when either the start or end hire date matches a date that's already in the hire table, but not when the specified date range is inside an existing hire date. You'll see what I mean from the attached...
I'm missing something glaringly obvious here, but what is it??