Hiya
Crystal 9
Access 97 Database
I have a question regarding a report i am creating. I'll keep it as simple as i can in the hope that someone will have some idea as to what i need to do.
The report is to show the dependency of a patient and bases this on the the amount of visits that the patient has in a seven day period.
For each date on the report i want to check each seven day period around the given date and count the number of visits made within the time frame.
i.e.
If the given date is 29/12/2003 i want to count the contacts that are on firstly done between
23/12/2003 and 29/12/2003
then
24/12/2003 and 30/12/2003
...
up until the last seven day period
29/12/2003 and 4/1/2004
The greatest number of visits will always be stored.
My problem is that i am not quite sure as to how i can count these visits in a formula.
Hopefully someone can help me out as to how to start of this.
Thanks in advance.
Crystal 9
Access 97 Database
I have a question regarding a report i am creating. I'll keep it as simple as i can in the hope that someone will have some idea as to what i need to do.
The report is to show the dependency of a patient and bases this on the the amount of visits that the patient has in a seven day period.
For each date on the report i want to check each seven day period around the given date and count the number of visits made within the time frame.
i.e.
If the given date is 29/12/2003 i want to count the contacts that are on firstly done between
23/12/2003 and 29/12/2003
then
24/12/2003 and 30/12/2003
...
up until the last seven day period
29/12/2003 and 4/1/2004
The greatest number of visits will always be stored.
My problem is that i am not quite sure as to how i can count these visits in a formula.
Hopefully someone can help me out as to how to start of this.
Thanks in advance.