variable

edited 9:31AM in FastReport VCL 5
I have a report, I pass my variable as [var1] , [var2], [var3]
currently I add them in Delphi , then show it in the report,

like this
Print.Variables :=FieldByName('var1').Value + FieldByName('var2').Value;

Is there any way, to add both values inside the report instead on the code .

SUM( var1, var2) doesn't work
I tried functions, no chance

Thanks

Comments

  • gpigpi
    edited 9:31AM
    Try [<var1> + <var2>] inside TfrxMemoView

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.