D
Deanna S via AccessMonster.com
I have a complex dynamic report generater w/up to 4 group levels. Simplified,
the report displayed may consist of something like this:
Department (group)
Staff member (group)
Training event for the staff member (group)
Type of training (can be more than 1) (detail)
So let's say I filter the recordset by the location of the training event. I
then want a count within the department grouping of the total # training
events. If I just do a count(*), the count is too high because each event may
have several types of training associated with it so each detail is counted.
I can't put the Type of training on a subreport because sometimes the report
recordset will be filtered by type of training. I realize I could use DCount
instead of Count, but the recordset of the report is always created
dynamically. Any suggestions on how I can generate the counts at various
group levels?
Thanks!
Deanna
the report displayed may consist of something like this:
Department (group)
Staff member (group)
Training event for the staff member (group)
Type of training (can be more than 1) (detail)
So let's say I filter the recordset by the location of the training event. I
then want a count within the department grouping of the total # training
events. If I just do a count(*), the count is too high because each event may
have several types of training associated with it so each detail is counted.
I can't put the Type of training on a subreport because sometimes the report
recordset will be filtered by type of training. I realize I could use DCount
instead of Count, but the recordset of the report is always created
dynamically. Any suggestions on how I can generate the counts at various
group levels?
Thanks!
Deanna