date checking

  • Thread starter Thread starter JaniN
  • Start date Start date
J

JaniN

I made a query to calculates employees monthly workdays, which uses two
separate dates to do it with dateserial function. Is it possible to make it
check actual starting date or ending date of employee, if it's past that
month's first or before month's last?
 
You could perhaps use subqueries within the main query to find the MIN and
MAX dates per employee. I'm not sure just how you'd restrict the subqueries
so that they exclude any dates per employee from another before and after the
date range for which you are computing the workdays. If you can explain just
what determines the relevant date range I might be able to suggest something.

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top