Click to See Complete Forum and Search --> : how can i pass values from a subreport to main report


hariushas
May 27th, 2004, 06:02 AM
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:

hoysala
April 1st, 2005, 12:38 AM
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 Report