Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help writing query to return data if there are 4 consecutive holid

5 views
Skip to first unread message

siri

unread,
Jun 11, 2007, 12:18:00 PM6/11/07
to
Hi,

I need to write a query that returns data if an employee has taken four or
more consecutive holidays. I need to get the startdate and the employee name.
The employee works either a 4X10..or an 8X5 shift...
Also, the employee need not have an off only on Sat and Sun...Some of them
work on the weekends and have an off during the weekdays.

Also, I need to take into account the days employee is off (eg.Sat and Sun).

So if an employee is out Mon, Tues, Wed, Thu it shows that employee or if
the employee is out on Thu, Fri, Mon, Tues it also shows that employee...

Can anyone assist!

Thanks in advance!
Siri

--CELKO--

unread,
Jun 11, 2007, 1:27:39 PM6/11/07
to
Use a Calendar table which has the work days Julianized (consecutively
numbered). Google this newsgroup for examples.

0 new messages