Jul 16, 2003 #1 Bontebok Programmer Nov 18, 2002 63 US Does anyone know how to create a running total that is reset at the start of the page? Thanks, Bontebok
Does anyone know how to create a running total that is reset at the start of the page? Thanks, Bontebok
Jul 16, 2003 #2 lbass Technical User Feb 9, 2002 32,816 US Use the three-formula method: Create a reset formula {@resetpagetot} and place it in the page header: whileprintingrecords; numbervar pagetot := 0; Create a detail record formula {@detpagetot} and place in the details section: Whileprintingrecords; numbervar pagetot := pagetot + {table.yourfield}; Create a display formula {@displaypagetot} and place in the page footer: whileprintingrecords; numbervar pagetot; -LB Upvote 0 Downvote
Use the three-formula method: Create a reset formula {@resetpagetot} and place it in the page header: whileprintingrecords; numbervar pagetot := 0; Create a detail record formula {@detpagetot} and place in the details section: Whileprintingrecords; numbervar pagetot := pagetot + {table.yourfield}; Create a display formula {@displaypagetot} and place in the page footer: whileprintingrecords; numbervar pagetot; -LB
Jul 16, 2003 Thread starter #3 Bontebok Programmer Nov 18, 2002 63 US Thanks! Did the trick. Bontebok Upvote 0 Downvote