sintax

 if <frxDBACC."IDXDOC"> ='RDC' then

  <frxDBACC."IMPORTO">-1;   

else

  <frxDBACC."IMPORTO">;

cosa sto sbagliando ? mi chiede sempre che si aspetta il ;

Comments

  • Try

    <CODE>procedure frxDBACCIMPORTOOnBeforePrint(Sender: TfrxComponent);

    var

    NUMERO: real;

    begin

    if <frxDBACC."IDXDOC"> = 'RDC' then

    NUMERO:= <frxDBACC."IMPORTO"> * (-1)

    else

    NUMERO:= <frxDBACC."IMPORTO">;

    end; </CODE>

Leave a Comment