OK - What I have now is a bunch of queries, a bunch of subreports to count the records returned by those queries, and finally, a few main reports to enter those subreports into.
Here's the problem: A given query has a [GAP ID] field and a [BSR] field. Records can have the same "GAP ID" value, but different "BSR" values. How can I make it so that, either from the query or the subreport, records with the same "GAP ID" values are either returned or counted as a single record? For example, a query that currently returns:
SEQID IDGAP ID BSR
------------------------------
1 RGNK-4 1
2 RGNK-5 1
3 RGNK-5 2
4 RGNK-5 3
5 RGNK-5 4
6 RGNK-6 1
------------------------------
would be made to return:
SEQID IDGAP ID BSR
------------------------------
1 RGNK-4 1
2 RGNK-5 1
6 RGNK-6 1
------------------------------
or a subreport that currently counts "6" would count "3". Currently, I'm just counting the number of SEQ id values from the queries returned:
=Nz(IIf(IsNull([SeqID]),"0",Count([SeqID])))
Any help would be greatly appreciated. Thanks.
Here's the problem: A given query has a [GAP ID] field and a [BSR] field. Records can have the same "GAP ID" value, but different "BSR" values. How can I make it so that, either from the query or the subreport, records with the same "GAP ID" values are either returned or counted as a single record? For example, a query that currently returns:
SEQID IDGAP ID BSR
------------------------------
1 RGNK-4 1
2 RGNK-5 1
3 RGNK-5 2
4 RGNK-5 3
5 RGNK-5 4
6 RGNK-6 1
------------------------------
would be made to return:
SEQID IDGAP ID BSR
------------------------------
1 RGNK-4 1
2 RGNK-5 1
6 RGNK-6 1
------------------------------
or a subreport that currently counts "6" would count "3". Currently, I'm just counting the number of SEQ id values from the queries returned:
=Nz(IIf(IsNull([SeqID]),"0",Count([SeqID])))
Any help would be greatly appreciated. Thanks.