Using Access 2000
A report groups by FamilyID. The first line shows the primary adults in the family, which have a RelationshipID of 1 and 2. The second line shows children, which have a RelationshipID of 3. The third line shows additional adults in the family, if there are any, and their RelationshipID is 4 or greater.
Records in a typical report would display as follows:
ADAMS, John & Rosalind
Freddie, Susan (children)
Sally Goode
BROWN, Jim & Mabel
Tanya, Tim (children)
Bruce Frobisher, Clara Friendly (other Adults)
This 3rd line is brought in by
This Concat is a function from a module that pulls records together by FamilyID.
By constructing a small Totals Query, I can get a count of these other adults, based on the FamilyID. So the first record I show would have a count of 1, and the second a count of 2.
How do I get a total of 3 in the report footer?
1. I have tried Sum(Abs).
2. I have tried putting a running sum text box in the group footer and then referencing it in the report footer. In this case, I get a value of 2, whereas it should be a value of 3.
Any shoves in the right direction would be appreciated.
Tom
A report groups by FamilyID. The first line shows the primary adults in the family, which have a RelationshipID of 1 and 2. The second line shows children, which have a RelationshipID of 3. The third line shows additional adults in the family, if there are any, and their RelationshipID is 4 or greater.
Records in a typical report would display as follows:
ADAMS, John & Rosalind
Freddie, Susan (children)
Sally Goode
BROWN, Jim & Mabel
Tanya, Tim (children)
Bruce Frobisher, Clara Friendly (other Adults)
This 3rd line is brought in by
Code:
=Concat("qryRelationship4Plus","FullName","FamilyID = " & [FamilyID])
This Concat is a function from a module that pulls records together by FamilyID.
By constructing a small Totals Query, I can get a count of these other adults, based on the FamilyID. So the first record I show would have a count of 1, and the second a count of 2.
How do I get a total of 3 in the report footer?
1. I have tried Sum(Abs).
2. I have tried putting a running sum text box in the group footer and then referencing it in the report footer. In this case, I get a value of 2, whereas it should be a value of 3.
Any shoves in the right direction would be appreciated.
Tom