nathani_y
December 8th, 2005, 12:28 AM
Dear all,
I have put up page total in page footer as shown below
Create Formula named tot1
code:
WhilePrintingRecords;
NumberVar total;
total := 0
formula 2 : tot2
WhilePrintingRecords;
NumberVar total;
total := total + {amount};
formula 3 : tot3
WhilePrintingRecords;
NumberVar total;
Use the same variable name.
place tot1 is page header section. This will reset the total value to 0 for each and every page.
Place tot2 in details section. This will add the values.
Format both as suppressed.
Place the tot3 in Page Footer section. This will display page viz total.
--------------------------------------------------------------------------------
now i want this page total (tot3) on the next page as a total brought forward in page header section. how can i do this?
regards
yusuf
I have put up page total in page footer as shown below
Create Formula named tot1
code:
WhilePrintingRecords;
NumberVar total;
total := 0
formula 2 : tot2
WhilePrintingRecords;
NumberVar total;
total := total + {amount};
formula 3 : tot3
WhilePrintingRecords;
NumberVar total;
Use the same variable name.
place tot1 is page header section. This will reset the total value to 0 for each and every page.
Place tot2 in details section. This will add the values.
Format both as suppressed.
Place the tot3 in Page Footer section. This will display page viz total.
--------------------------------------------------------------------------------
now i want this page total (tot3) on the next page as a total brought forward in page header section. how can i do this?
regards
yusuf