In a Memo text on a MasterFooter band, this works:
[SUM(MAXNUM([qPrintBills."Fixed"],[qPrintBills."Fixed"]+[qPrintBills."Charge"]),MasterData1,1)]
In a Memo script on a MasterFooter band, this doesn't:
TheData := SUM(MAXNUM([qPrintBills."Fixed"],[qPrintBills."Fixed"]+[qPrintBills."Charge"]),MasterData1,1);
neither does this:
TheData := SUM([qPrintBills."Fixed"]+[qPrintBills."Charge"],MasterData1,1);
Should SUM work in a script?