YANKRAY
Technical User
- Nov 7, 2003
- 283
Using CR 10.0
I have a report in which I pull data from a sub-report.
The sub-report is linked to the detail line of the main report and is located in the Db section.
The correct information is shown in the main report.
I plan to suppress the Db section when I am finished with the report.
I pass two fields from the sub-report that I will use in a calculation on the main report on Da line. The information I am passing is showing up one line off (down) from where it should be. The sub-report fields were placed in the Dc section.
This is how the Sub-report variable reads:
whileprintingrecords;
Shared StringVar PurchOrd;
PurchOrd :=({PO_BLANKET.PO_NO});
This is how the main report variable reads:
whileprintingrecords;
Shared StringVar PurchOrd;
StringVar PurchOrd;
PurchOrd := PurchOrd;
Any ideas on why my result is one line off?
Thanks,
Ray
I have a report in which I pull data from a sub-report.
The sub-report is linked to the detail line of the main report and is located in the Db section.
The correct information is shown in the main report.
I plan to suppress the Db section when I am finished with the report.
I pass two fields from the sub-report that I will use in a calculation on the main report on Da line. The information I am passing is showing up one line off (down) from where it should be. The sub-report fields were placed in the Dc section.
This is how the Sub-report variable reads:
whileprintingrecords;
Shared StringVar PurchOrd;
PurchOrd :=({PO_BLANKET.PO_NO});
This is how the main report variable reads:
whileprintingrecords;
Shared StringVar PurchOrd;
StringVar PurchOrd;
PurchOrd := PurchOrd;
Any ideas on why my result is one line off?
Thanks,
Ray