R
RoadKyng
Greetings,
I have a report data sourced by a query. The query looks at two tables, one
of which holds the main identification records (which aircraft) and a
subtable holding the event records (what happened). The two tables are
related by a DMIID field and SerialNumber field. There is one record in the
main table to a maximum 3 records in the subtable
On the report I used the DMIID from the main table as a grouping field with
whole group kept together. In the detail section of the form I inserted as a
sub-report, the actual subform I have on the main data entry form. My desire
is to have the report return:
ReportHeader
Groupheader__________
DMIID
Aircraft Registration Serial Number Date
Detail_________
Subrecord 1 detail
Subrecord 2 detail
subrecord 3 detail
What I get is:
ReportHeader
Groupheader__________
DMIID
Aircraft Registration Serial Number Date
Detail_________
Subrecord 1 detail
Subrecord 2 detail
subrecord 3 detail
then
ReportHeader
Subrecord 1 detail
Subrecord 2 detail
Subrecord 3 detail
then
ReportHeader
Subrecord 1 detail
Subrecord 2 detail
Subrecord 3 detail
I understand what is happening - the report is returning a record detail for
each instance of a detail record it finds in the sub-table. What I can't
figure out is why. I have tried different grouping, setting the query to
unique records and no change.
Any suggestions?
gavin hill
I have a report data sourced by a query. The query looks at two tables, one
of which holds the main identification records (which aircraft) and a
subtable holding the event records (what happened). The two tables are
related by a DMIID field and SerialNumber field. There is one record in the
main table to a maximum 3 records in the subtable
On the report I used the DMIID from the main table as a grouping field with
whole group kept together. In the detail section of the form I inserted as a
sub-report, the actual subform I have on the main data entry form. My desire
is to have the report return:
ReportHeader
Groupheader__________
DMIID
Aircraft Registration Serial Number Date
Detail_________
Subrecord 1 detail
Subrecord 2 detail
subrecord 3 detail
What I get is:
ReportHeader
Groupheader__________
DMIID
Aircraft Registration Serial Number Date
Detail_________
Subrecord 1 detail
Subrecord 2 detail
subrecord 3 detail
then
ReportHeader
Subrecord 1 detail
Subrecord 2 detail
Subrecord 3 detail
then
ReportHeader
Subrecord 1 detail
Subrecord 2 detail
Subrecord 3 detail
I understand what is happening - the report is returning a record detail for
each instance of a detail record it finds in the sub-table. What I can't
figure out is why. I have tried different grouping, setting the query to
unique records and no change.
Any suggestions?
gavin hill