Posts

Showing posts with the label fastreport

Getting debug error “; expected” after adding new ifclause to procedure

Getting debug error “; expected” after adding new ifclause to procedure After adding the ifclause for Art to a MasterReport to multiple the Netto total by -1 for get a -ve result in the credit invoice, I am getting a ; expected with the error indicator jumping to the procedure after it. ifclause -1 -ve ; expected Image of Error Message It's likely a very stupid error but I can't wrap my head around the problem at the moment. Commenting the new ifclause out will resolve the issue so it's something with that. procedure FooterSR1OnBeforePrint(Sender: TfrxComponent); begin if ( <frxdsqryKopfdaten."MwStNichtAusweisbar"> = 0 ) then mmoBrutto.Memo.Text := FormatFloat('#,##0.00', EndBrutto ) + ' ' + <frxdsqryKopfdaten."CurrencyString"> else mmoBrutto.Memo.Text := FormatFloat('#,##0.00', EndNetto ) + ' ' + <frxdsqryKopfdaten."CurrencyString">; end; ...