M
M Skabialka
I have a main report where it is opened using a filter which is created on a
form based on user selection of vehicles and repair items.
DoCmd.OpenReport stDocName, acViewPreview, , Me!strSQL
I have added a subreport to summarize the data in the main report:
If they chose Vehicle 1 and 2 , and want to know how many wheels, windows,
wipers and door were replaced (based on selections from multi-select list
boxes), the report and sub-report should show:
Vehicle 1 repairs
Wheels 2
Windows 1
Wipers 2
Vehicle 2 repairs
Wheels 4
Doors 1
Summary sub-report
Wheels 6
Windows 1
Wipers 2
Doors 1
The main report is filtering properly - the sub-report is counting all
vehciles and all repairs. If I link master or child with either vehicleID
or repairItem, it only summarizes the last vehicle.
How do I filter the subreport the same as the main report, ie, using
Me!strSQL, or link it somehow?
Mich
form based on user selection of vehicles and repair items.
DoCmd.OpenReport stDocName, acViewPreview, , Me!strSQL
I have added a subreport to summarize the data in the main report:
If they chose Vehicle 1 and 2 , and want to know how many wheels, windows,
wipers and door were replaced (based on selections from multi-select list
boxes), the report and sub-report should show:
Vehicle 1 repairs
Wheels 2
Windows 1
Wipers 2
Vehicle 2 repairs
Wheels 4
Doors 1
Summary sub-report
Wheels 6
Windows 1
Wipers 2
Doors 1
The main report is filtering properly - the sub-report is counting all
vehciles and all repairs. If I link master or child with either vehicleID
or repairItem, it only summarizes the last vehicle.
How do I filter the subreport the same as the main report, ie, using
Me!strSQL, or link it somehow?
Mich