I have a report based on the below query/table:
Parent Record - Child Record - Ref
Alarm A1 - Alarm A1 - 1
Alarm A1 - Alarm B2 - 2
Alarm A1 - Alarm A2 - 1
Alarm D1 - Alarm D1 - 3
Alarm D1 - Alarm D2 - 3
Alarm D1 - Alarm C4 - 4
The child records are alarms that happen with 5 minutes of the parent alarm, but not all are related. Basically I group by the Parent Record in a group header, and then show the related records below it.
What I am aiming for is to only show records with the same reference as the parent record.
So for the parent record Alarm A1, it would only show Alarm A1 and Alarm A2.
The tables are very big, and it takes a few queries to get to the stage above.
Any ideas anyone?
Thanks in advance
Gareth
Parent Record - Child Record - Ref
Alarm A1 - Alarm A1 - 1
Alarm A1 - Alarm B2 - 2
Alarm A1 - Alarm A2 - 1
Alarm D1 - Alarm D1 - 3
Alarm D1 - Alarm D2 - 3
Alarm D1 - Alarm C4 - 4
The child records are alarms that happen with 5 minutes of the parent alarm, but not all are related. Basically I group by the Parent Record in a group header, and then show the related records below it.
What I am aiming for is to only show records with the same reference as the parent record.
So for the parent record Alarm A1, it would only show Alarm A1 and Alarm A2.
The tables are very big, and it takes a few queries to get to the stage above.
Any ideas anyone?
Thanks in advance
Gareth
Comment