Hello
I am using CR9 accessing an MS-Access 2002 database on a computer with Windows XP/SP2.
I have a patient database where chart number is the patient identifier (each patient has a number that is used for all of their visits) and account number which is the visit identifier (unique number - no duplicates in database). There is also the readmit code which identifies status of visit i.e. if '2' then current visit is within 7 days of last visit; if '3' then current visit is within 8 to 28 days of last visit. There is also a field called "CMG" which I want to report on for the previous visits. Note that I am able to report on this (thanks to Tek Tippers) by chart number using previous(CMG) but want to report on by grouping in previous CMG.
The problem arises by selection of time frame so I'm wondering if I need to use a subreport. What I mean by the above statement is that if the timeframe chosen is Apr 1 2004 to Jun 30 2004 an admission of April 7 could have '3' as the readmit code meaning the previous admission was between March 10 and 30. However, the report isn't for that timeframe so this previous admission can't be reported on.
Any ideas how I can do this? Thanks.
I am using CR9 accessing an MS-Access 2002 database on a computer with Windows XP/SP2.
I have a patient database where chart number is the patient identifier (each patient has a number that is used for all of their visits) and account number which is the visit identifier (unique number - no duplicates in database). There is also the readmit code which identifies status of visit i.e. if '2' then current visit is within 7 days of last visit; if '3' then current visit is within 8 to 28 days of last visit. There is also a field called "CMG" which I want to report on for the previous visits. Note that I am able to report on this (thanks to Tek Tippers) by chart number using previous(CMG) but want to report on by grouping in previous CMG.
The problem arises by selection of time frame so I'm wondering if I need to use a subreport. What I mean by the above statement is that if the timeframe chosen is Apr 1 2004 to Jun 30 2004 an admission of April 7 could have '3' as the readmit code meaning the previous admission was between March 10 and 30. However, the report isn't for that timeframe so this previous admission can't be reported on.
Any ideas how I can do this? Thanks.