Find missing Working Days
- From: "Evi" <evwool@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 18 Apr 2008 08:09:55 GMT
My database needs a record entering for every working day. A working day is
defined as every day from Monday to Friday. This includes Bank Holidays and
other holidays, so at least that bit isn't a problem
Can anyone think of a query that can check if any days are missing? eg one
week I didn't enter a record for Tuesday? I suspect the answer will have
something to do with DatePart but I can't figure out how to find the missing
numbers. ie the
I suppose that I could cycle through the record with VBA and print the
results into a table if a number from 1 to 5 is out of sequence but I wonder
if it could be done with a query.
It wouldn't matter if the query also returned the results for the week I ran
it, if the query was run half way through the week.
The datefield is called WkDate in TblWorkRecord.
Evi
.
- Follow-Ups:
- RE: Find missing Working Days
- From: Dale Fye
- RE: Find missing Working Days
- Prev by Date: Re: Qry not pulling bound column problem
- Next by Date: Re: how do I get rid of "the expression you entered exceeds the 1,024-
- Previous by thread: Queries not returing all results
- Next by thread: RE: Find missing Working Days
- Index(es):
Relevant Pages
|