R
Richard Harison
I am creating a report whose purpose is to subtotal and total referrals to
different institutions used by an abuse counseling agency. To keep it
simple..lets say there are two categories: Hospitals and Shelters. Each
category has subcategories. (e.g. Joe's Hospital, Fred's Hospital) I need to
subtotal the number of referrals to Joe's, the number to Fred's and then total
the total referrals to hospitals. I have set up two grouping levels for the
categories & subcategories...but here's where the fun starts.
If a hospital is referred, the user checks a box, windows appear for the name of
the institution and the # of referrals to it. (Otherwise they remain inactive &
invisible.) I put an IIF statement in the underlying query which works nicely
in identifying the institution category if the box is checked. (Primary
grouping level). The problem is that more than one box may be checked! IOW a
referral might be made to BOTH a hospital AND a shelter. Naturally the sections
for hospitals and shelters would be in different parts of the report.
So how do I deposit a multiple category record into the appropriate locations
and get the counters working?
I thought of using a Visual Basic routine, but as we know report events are not
forthcoming on a record by record basis.
Thanks for your help!
different institutions used by an abuse counseling agency. To keep it
simple..lets say there are two categories: Hospitals and Shelters. Each
category has subcategories. (e.g. Joe's Hospital, Fred's Hospital) I need to
subtotal the number of referrals to Joe's, the number to Fred's and then total
the total referrals to hospitals. I have set up two grouping levels for the
categories & subcategories...but here's where the fun starts.
If a hospital is referred, the user checks a box, windows appear for the name of
the institution and the # of referrals to it. (Otherwise they remain inactive &
invisible.) I put an IIF statement in the underlying query which works nicely
in identifying the institution category if the box is checked. (Primary
grouping level). The problem is that more than one box may be checked! IOW a
referral might be made to BOTH a hospital AND a shelter. Naturally the sections
for hospitals and shelters would be in different parts of the report.
So how do I deposit a multiple category record into the appropriate locations
and get the counters working?
I thought of using a Visual Basic routine, but as we know report events are not
forthcoming on a record by record basis.
Thanks for your help!