S
SAL
Opps, I also posted this in the Access group by mistake:
I'm going to try to explain this the best I can...
I have a report that has a sub-report embedded in it which has a sub-report
embedded in it.
With the main report, I filter the report with user input. The report looks
fine and the sub-reports look good too except for one thing:
the first sub-report is not including all of the related records--but the
query does.
So, in my main report it has a field called InspectionId and so does the
sub-report. This is the Master/Child link fields.
The query returns the following when I use:
Where InspectionId=340
qryInspectionObjects2 InspectionID FacilityObjectID SiteObjectID
Compliance FacilityObject
340 5 1301 Yes Catch Basin
340 5 1302 Yes Catch Basin
340 5 1303 Yes Catch Basin
340 5 1305 Yes Catch Basin
340 5 1308 No Catch Basin
340 15 1304 Yes CONTECH StormFilter (leaf compost or ZPG filters)
340 20 1300 Yes Access Road or Easement
340 21 1306 Yes Drywell
But the report is dropping off four of the Catch Basin items. As far as I
know, I'm not filtering this sub-report except by using the Master/Child
Link field stated above.
Can anyone give me any clues as to why the report is dropping off those
records while the query is not?
Any help is way appreciated. I've beat my head against the wall on this...
SAL
I'm going to try to explain this the best I can...
I have a report that has a sub-report embedded in it which has a sub-report
embedded in it.
With the main report, I filter the report with user input. The report looks
fine and the sub-reports look good too except for one thing:
the first sub-report is not including all of the related records--but the
query does.
So, in my main report it has a field called InspectionId and so does the
sub-report. This is the Master/Child link fields.
The query returns the following when I use:
Where InspectionId=340
qryInspectionObjects2 InspectionID FacilityObjectID SiteObjectID
Compliance FacilityObject
340 5 1301 Yes Catch Basin
340 5 1302 Yes Catch Basin
340 5 1303 Yes Catch Basin
340 5 1305 Yes Catch Basin
340 5 1308 No Catch Basin
340 15 1304 Yes CONTECH StormFilter (leaf compost or ZPG filters)
340 20 1300 Yes Access Road or Easement
340 21 1306 Yes Drywell
But the report is dropping off four of the Catch Basin items. As far as I
know, I'm not filtering this sub-report except by using the Master/Child
Link field stated above.
Can anyone give me any clues as to why the report is dropping off those
records while the query is not?
Any help is way appreciated. I've beat my head against the wall on this...
SAL