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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.