I would be very grateful for reply to the following. it would be really great help. thx
while I am pulling grand total from subreport using shared variables, it is picking up previous customer total only instead of grand total of all customers
customer is linked with main report
Main report has data for the yaer 2005 and sub total has data for 2004.
Main Report:
GRP1 LOCATION
GRP2 SALESPERSON
GRP3 Customer
Detail Invoice total- formula
GRP3 header has six subsection for
3a customer name
3b sales 2005
3c cost 2005
3d gp 2005
3e gp% 2005
3f placed subreport with same subsection but sub report does not have grouping by salesperson
SUB Report:
GRP1 - LOCATION
GRP2 - CUSTOMER
DETAIL- INVOICE TOTAL - FORMULA
Subreport is placed in GRP-3E
I am using following formula in main shared formula in sub report and put that in RF
whileprintingrecords;
Shared NumberVar Shared_Total:= sum(@cur_sales);
Shared_Total;
//Report footer
Formula in mianreports:
Shared NumberVar Shared_Total;
Shared_Total;
I am placing this also in RF
thx everybody for reply
do I Need to reset anything ? what ? and where ?
while I am pulling grand total from subreport using shared variables, it is picking up previous customer total only instead of grand total of all customers
customer is linked with main report
Main report has data for the yaer 2005 and sub total has data for 2004.
Main Report:
GRP1 LOCATION
GRP2 SALESPERSON
GRP3 Customer
Detail Invoice total- formula
GRP3 header has six subsection for
3a customer name
3b sales 2005
3c cost 2005
3d gp 2005
3e gp% 2005
3f placed subreport with same subsection but sub report does not have grouping by salesperson
SUB Report:
GRP1 - LOCATION
GRP2 - CUSTOMER
DETAIL- INVOICE TOTAL - FORMULA
Subreport is placed in GRP-3E
I am using following formula in main shared formula in sub report and put that in RF
whileprintingrecords;
Shared NumberVar Shared_Total:= sum(@cur_sales);
Shared_Total;
//Report footer
Formula in mianreports:
Shared NumberVar Shared_Total;
Shared_Total;
I am placing this also in RF
thx everybody for reply
do I Need to reset anything ? what ? and where ?