sum of 2 or more sub report total in main report?
Quote: You can add up the values passed back from the subreport by keeping track of them via a global variable in the main report. //Initialize the variable in the Group Header of the main report whileprintingrecords; numbervar groupsub := 0; //Update the variable in the Details section of the main report whileprintingrecords; numbervar groupsub; shared numbervar subval; groupsub := groupsub + subval; //Print the accumulated group value in the Group Footer of the main report whileprintingrecords; numbervar groupsub;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)