I'm trying to share values in two subreports and to use them in my main report. I created two formulas in each subreport and I store the value I need. The formulas works on the subreport because when I change my parameters fields the value changes. In the main report I want to add the two values from the subreports BUT in the main report the value is 0.
Can you help me ?
Main report:
shared numbervar valeur1;
shared numbervar valeur2;
numbervar total;
total:= valeur1 + valeur2
1 subreport:
shared numbervar valeur1 ;
valeur1:= Count ({Object.Start_Date})
2 subreport:
shared numbervar valeur2 ;
valeur2:= Count ({Object.Creation_Date})
Thanks,
andré
André
Can you help me ?
Main report:
shared numbervar valeur1;
shared numbervar valeur2;
numbervar total;
total:= valeur1 + valeur2
1 subreport:
shared numbervar valeur1 ;
valeur1:= Count ({Object.Start_Date})
2 subreport:
shared numbervar valeur2 ;
valeur2:= Count ({Object.Creation_Date})
Thanks,
andré
André