Fizzio
Chief Torturer
- Local time
- Today, 09:03
- Joined
- Feb 21, 2002
- Messages
- 1,885
I work in healthcare and I am trying to produce a report to show both referrals and contacts for a given month on the same report but I am having problems structuring this.
The report is sub-grouped by referrer and diagnosis but on each page I want to show the total number of referrals AND the total number of contacts for a given month. However I can only seem to show one or the other. I created 2 queries, Referrals and Contacts then queried these to bring them together into the report. However if I have Referrals and Contacts for eg back pain in a month then everyting is ok but if I only have referrals OR contacts then I get a blank line.
I want to be able to show ALL referrals even if there are NO contacts for that diagnosis and ALL contacts even if there are NO referrals but a typical outer join only allows this one way. How could I best structure my report / query to show this data?
The report is sub-grouped by referrer and diagnosis but on each page I want to show the total number of referrals AND the total number of contacts for a given month. However I can only seem to show one or the other. I created 2 queries, Referrals and Contacts then queried these to bring them together into the report. However if I have Referrals and Contacts for eg back pain in a month then everyting is ok but if I only have referrals OR contacts then I get a blank line.
I want to be able to show ALL referrals even if there are NO contacts for that diagnosis and ALL contacts even if there are NO referrals but a typical outer join only allows this one way. How could I best structure my report / query to show this data?