Can I control Hide duplicates in code?
I have created a query with a few inner joins for a report recordsource.
Main table has Sites
Secondary table has Points
Tertiary table has Bugs
Quarternary table has LifeStages
This results in each LifeStage producing its own record in the report in single row, containing about 20 fields from all the above tables.
In the report there are no headers and the records are grouped in the right order, Site/Point/Bug/LifeStage. And the textboxes are set to hide duplicates.
Too many duplicates are being hidden, though. Using BugName as an example, if a BugName record ("Asellidae") is part of the only record for that entire Site (BRCBR1) and the BugName in the next record, which is for the next Site (BRCL09), is the same as the record preceding, the datum "Asellidae" does not appear.
So I want to hide duplicates for the BugName field only if it is in the same Site or Point for instance. This way, all LifeStages will list beside/under the one BugName, UNTIL there is a change in Point OR (Site AND Point).
Daniel Dillon
O o . (<--- brain shrinking at rate shown.)
I have created a query with a few inner joins for a report recordsource.
Main table has Sites
Secondary table has Points
Tertiary table has Bugs
Quarternary table has LifeStages
This results in each LifeStage producing its own record in the report in single row, containing about 20 fields from all the above tables.
In the report there are no headers and the records are grouped in the right order, Site/Point/Bug/LifeStage. And the textboxes are set to hide duplicates.
Too many duplicates are being hidden, though. Using BugName as an example, if a BugName record ("Asellidae") is part of the only record for that entire Site (BRCBR1) and the BugName in the next record, which is for the next Site (BRCL09), is the same as the record preceding, the datum "Asellidae" does not appear.
So I want to hide duplicates for the BugName field only if it is in the same Site or Point for instance. This way, all LifeStages will list beside/under the one BugName, UNTIL there is a change in Point OR (Site AND Point).
Daniel Dillon
O o . (<--- brain shrinking at rate shown.)