In your sub report create a formula to pass teh values to the variables i.e.
//@SubRptData
WhilePrintingRecords;
Shared StringVar JobNum := {My Job Number}; ''change to Numbervar if a number is required here
Shared StringVar Desription := {My Description}
Then in the main report create formulas to display the data from the sub report i.e.
//@JobNo
WhilePrintingRecords;
Shared StringVar JobNum;
//@Description
WhilePrintingRecords;
Shared StringVar Description;
These can then be placed on the main report to diplay the sub report data, bearing in mind they must placed in a section after the section containing the sub report.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.