G
Georgie047
This is a hard one. I have been struggling for a while PLEASE PLEASE HELP
I have a query that has two fields admission date and discharge date. I
have a criteria that searches the dates: between begin date and end date.
Here is an example:
Admission date: 1/1/2000
Discharge date: 6/1/2008
Between begin date 1/1/2008 and end date 6/1/2008
What I want it to do is tell me the number of days occupied giving me the
accumalated total days (and I need that) 1/1/2000 through 6/1/2008 (and it
works)
Problem: I also need a way that I can have it give me just the total days
occupied from 1/1/2008 to 6/1/2008.
here is my query
field: admission date
criteria first row: between[forms]![review forms]![begin date] and
[forms]![review forms]![end date]
criteris second row: Is null
field: Total days occupied: NZ([discharge date],Date ())-[admission date]
I have a query that has two fields admission date and discharge date. I
have a criteria that searches the dates: between begin date and end date.
Here is an example:
Admission date: 1/1/2000
Discharge date: 6/1/2008
Between begin date 1/1/2008 and end date 6/1/2008
What I want it to do is tell me the number of days occupied giving me the
accumalated total days (and I need that) 1/1/2000 through 6/1/2008 (and it
works)
Problem: I also need a way that I can have it give me just the total days
occupied from 1/1/2008 to 6/1/2008.
here is my query
field: admission date
criteria first row: between[forms]![review forms]![begin date] and
[forms]![review forms]![end date]
criteris second row: Is null
field: Total days occupied: NZ([discharge date],Date ())-[admission date]