I've created the following conditional running total based upon what I've learned from other postings here......
whileprintingrecords;
numbervar ordrunningtotal;
if ({@OrdNo} <> previous ({@OrdNo}) )
then
ordrunningtotal:=ordrunningtotal + {@OrdTot}
else
ordrunningtotal := ordrunningtotal
the problem is that this formula excludes the very first record from the running total, can anyone help?
Thanks in advance for your help.
N
whileprintingrecords;
numbervar ordrunningtotal;
if ({@OrdNo} <> previous ({@OrdNo}) )
then
ordrunningtotal:=ordrunningtotal + {@OrdTot}
else
ordrunningtotal := ordrunningtotal
the problem is that this formula excludes the very first record from the running total, can anyone help?
Thanks in advance for your help.
N