sql - Query how many tasks not completed in period -


i have database tracks number of tasks completed staff members , signed off managers. want report number of checklists not done in period staff using can complete them. each checklist signed off daily there none on saturdays , sundays. far have done query returns completed checklists in period, here sql statement (05/18/2015 being launch date) -

select distinct checklistresults.dateofchecklist, checklistresults.clientid checklistresults (((checklistresults.dateofchecklist)>=#5/18/2015# , ((checklistresults.dateofchecklist)<=forms!report_missing!datecheck)) , ((checklistresults.clientid)=forms!report_missing!comclientdatechk)) order checklistresults.dateofchecklist; 

this shows me completed checklists, there way of listing of dates have been missed in period excluding weekends?

thanks

one simple method exclude you've found:

select * checklistresults t1 t1.dateofchecklist >= #5/18/2015#      , t1.dateofchecklist <= forms!report_missing!datecheck      , t1.id not in      (select id checklistresults t     t.dateofchecklist >= #5/18/2015#      , t.dateofchecklist <= forms!report_missing!datecheck      , t.clientid = forms!report_missing!comclientdatechk) 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -