BradCustom
IS-IT--Management
I'm working with a simple report that shows all shipments. I have it grouped by Shipment Date and Part Number. The Shipment Date group is for each month.
I'm trying to find all shipments for a list of part numbers and sub-total those seperately from all shipments. The list of part numbers is in an Excel Spreadsheet which I added to the report as a subreport and joined it to the main report based on the Part number field. The subreport works fine all the part numbers that match are displayed. I then tryed to pass the Part Number from the subreport to the main report as a Shared Stringvar. Unfortunately every record shows a value for the passed variable and the records that have a matching part number in the subreport; the passed variable is one record off.
Below are the Pass formulas:
Subreport
Placed in the details of the subreport
Main Report
Placed in a section below the subreport.
Supreport is in GF2b
Pass is in GF2c
Thanks for you help!
I'm trying to find all shipments for a list of part numbers and sub-total those seperately from all shipments. The list of part numbers is in an Excel Spreadsheet which I added to the report as a subreport and joined it to the main report based on the Part number field. The subreport works fine all the part numbers that match are displayed. I then tryed to pass the Part Number from the subreport to the main report as a Shared Stringvar. Unfortunately every record shows a value for the passed variable and the records that have a matching part number in the subreport; the passed variable is one record off.
Below are the Pass formulas:
Subreport
Code:
whileprintingrecords;
shared stringvar PartNo := {Sheet1_.Part Number}
Main Report
Code:
whileprintingrecords;
shared stringvar PartNo;
PartNo
Supreport is in GF2b
Pass is in GF2c
Thanks for you help!