John I tried the report Razzak suggested and it DOES do what you want it to - did you ever doubt it? - but note two keys:
In the sample report pass setting is TWO pass For the variables to work, you must either pre-define the variables to value zero before you print, or SET ZERO ON David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "A. Razzak Memon" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Friday, March 11, 2005 11:10 PM Subject: [RBG7-L] - RE: Resetting of variables in reports afterpreview > > At 03:42 AM 3/11/2005, John Docherty wrote: > > >... I am still not having much success. The variable that I > >am having trouble with is in the report footer, so I need to > >be able to reset that variable after the preview, but there > >appears to be no way of doing this. > > John, > > Take a look at the sample "SubTotalsAndTotals" report in > ConComp database. This particular report demonstrates the > use of classic "SUM OF" options used in "Break Footer" > as well as "Report Footer". > > Database: ConComp > Report: SubTotalsAndTotals > Associated Table/View: SalesData > Command File: Reports13_SubTotalsAndTotals.RMD > > Hope that helps! > > Very Best R:egards, > > Razzak. > >
