Friday, March 23, 2012

how can i pass values from a subreport to main report

my main report consists of 4 subreports. i want to take aan integer value from a subreport and displays in main report.how i do this?
ie,in subreport there is field , total balance.
i want to pass the value to my main report.
kindely help me......
:wave:for this u have to declare on shared variable in a formula in subreport and assign the values to that variable and paste that formula in subreport.

again declare same variable in a formula and main report and use that

Ex:

enter the following in a formula and includin sub report
Shared CurrencyVar xx;
xx:=345345;

again create another formula in main report

Shared Currencyvar XX;

this will display the value of XX in Main Reportsql

No comments:

Post a Comment