andysgirl8800
Registered User.
- Local time
- Today, 08:59
- Joined
- Mar 28, 2005
- Messages
- 166
Good Day!
I seem to be running into a calculation problem in one of my queries. I have two fields in the query, AdmitDate and DischargeDate. I built in an expression, Exp100 to catculate the date diff in days between these two dates. Now what I want to do is display a count of the grand total days. So, if I have the following three records:
ID AdmitDate DischargeDate Exp100
1..... 01/01/06.........01/15/06............15
2......07/12/06.........07/19/06............7
3......04/27/06.........04/30/06............3
My query should display:
Healthy Plan Total Patients=3
Healthy Plan Total # Days = 25
How can I program this to correctly display this information? Thanks for any help or advice, it would be most welcome at this point. Cheers.
I seem to be running into a calculation problem in one of my queries. I have two fields in the query, AdmitDate and DischargeDate. I built in an expression, Exp100 to catculate the date diff in days between these two dates. Now what I want to do is display a count of the grand total days. So, if I have the following three records:
ID AdmitDate DischargeDate Exp100
1..... 01/01/06.........01/15/06............15
2......07/12/06.........07/19/06............7
3......04/27/06.........04/30/06............3
My query should display:
Healthy Plan Total Patients=3
Healthy Plan Total # Days = 25
How can I program this to correctly display this information? Thanks for any help or advice, it would be most welcome at this point. Cheers.