Hi
I'm using Access 2003 but haven't had much experience except to run standard queries and store data in tables.
I posted in the Reports section about wanting the following format
[tt]
Apr May
Disposition # Cases # Days Avg Days # Cases # Days Avg Days
Directly Home 8 80 10.0 12 48 4.0
Tsfr to Acute 10 80 8.0 12 48 8.0
Tsfr to Rehab 5 50 10.0 6 24 4.0 [/tt]
MajP was kind enough to respond and advise me to aggregate the data by disposition code first and then create one query per month (for a total of 12 queries). Then link all the queries together on disposition and use that for the report.
To separate out by fiscal year I also had fiscal year as a link so that I could distinguish between 2008 Apr data and 2009 Apr data.
This idea worked well except for years where there wasn't full data i.e. I only have Apr to Sep 2010 data and since there aren't entries for all of 2010 NO 2010 data shows up.
MajP suggested:
Problem is, I don't know how to do that. Can anyone suggest how I can do this? Thanks very much.
I'm using Access 2003 but haven't had much experience except to run standard queries and store data in tables.
I posted in the Reports section about wanting the following format
[tt]
Apr May
Disposition # Cases # Days Avg Days # Cases # Days Avg Days
Directly Home 8 80 10.0 12 48 4.0
Tsfr to Acute 10 80 8.0 12 48 8.0
Tsfr to Rehab 5 50 10.0 6 24 4.0 [/tt]
MajP was kind enough to respond and advise me to aggregate the data by disposition code first and then create one query per month (for a total of 12 queries). Then link all the queries together on disposition and use that for the report.
To separate out by fiscal year I also had fiscal year as a link so that I could distinguish between 2008 Apr data and 2009 Apr data.
This idea worked well except for years where there wasn't full data i.e. I only have Apr to Sep 2010 data and since there aren't entries for all of 2010 NO 2010 data shows up.
MajP suggested:
....you probably want to modify the 12 queries so they are not specific months but they are a month based off of a start month. You would have qryMonth1 to qryMonth12. Then you could prompt the user for a start month and build the report for any 12 month period. So you would have in your criteria of qryMonth2 something like
"where yearMonth = getYearMonth(1). getYearMonth(1) would be a vb function to add a month to your startmonth.
Problem is, I don't know how to do that. Can anyone suggest how I can do this? Thanks very much.