•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 392,373 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,775 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 11463 | Replies: 5
•
•
Join Date: Jul 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi, I have an access database that I use for recording the sickness of my employees. One of the tables holds the dates, Start Date, End Date and Count of Days etc. I need to produce a query that will show me a count of all of these dates between two date parameters that I will input when the report is run. However, to complicate matters, I need a definitive count even if the end date runs over the end date of my query.
For example....
I am employee X and I am sick between...
Start_Date = 01/07/2006
End_Date = 03/08/2006
If I wanted to run a report on this employee I would type in a start date and end date of 01/07/2006 to 31/07/2006 (i.e. the calendar month). This would need to take into account that the employee's end date is not in July. Presently, this doesn't happen unless the employee is off sick and returned within my parameter query.
Any idea how I can do this? It is driving me nuts, particularly as I often need to report on absences for a calendar month.
For example....
I am employee X and I am sick between...
Start_Date = 01/07/2006
End_Date = 03/08/2006
If I wanted to run a report on this employee I would type in a start date and end date of 01/07/2006 to 31/07/2006 (i.e. the calendar month). This would need to take into account that the employee's end date is not in July. Presently, this doesn't happen unless the employee is off sick and returned within my parameter query.
Any idea how I can do this? It is driving me nuts, particularly as I often need to report on absences for a calendar month.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS Access and FileMaker Pro Marketplace
- DATETIME data type arithmenic in SQL Server 2005 (MS SQL)
- Calculating Time Difference (C++)
- Having a little trouble with my Code. [please Help me out] (C++)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: shortcut on client to connect to remote database filemaker
- Next Thread: foxpro help



Threaded Mode