montypython1
Technical User
Greetings & Merry Christmas,
What is the best way to count and sum records in a report which is based on a 1-to-many relationship?
I have a report in which the relationship is working perfectly on screen and in the browse windows (ex: when I view the 2 related tables in 2 browse windows, and then click on the desired record in the parent table, the child table shows only the related records).
The problem is with the report (I think) ... When I display the data, I am using a Group Header to hold the data from the parent table (ex: a vehicle's year, make, model, etc). I am using the detail section of the report to hold the data from the child table (ex: the numerous options installed on that particular vehicle).
When I try to count the number of records in the parent table, it counts the number of records in the child table, even though I have defined the report variables to be reset after the group header changes.
The result: It shows 31 vehicles (total number of options) when it should show 4 vehicles.
Any suggestions?
Thanks,
David Higgins
What is the best way to count and sum records in a report which is based on a 1-to-many relationship?
I have a report in which the relationship is working perfectly on screen and in the browse windows (ex: when I view the 2 related tables in 2 browse windows, and then click on the desired record in the parent table, the child table shows only the related records).
The problem is with the report (I think) ... When I display the data, I am using a Group Header to hold the data from the parent table (ex: a vehicle's year, make, model, etc). I am using the detail section of the report to hold the data from the child table (ex: the numerous options installed on that particular vehicle).
When I try to count the number of records in the parent table, it counts the number of records in the child table, even though I have defined the report variables to be reset after the group header changes.
The result: It shows 31 vehicles (total number of options) when it should show 4 vehicles.
Any suggestions?
Thanks,
David Higgins