add variables

Hello,

I have a report and has 3 variables , just like
[var1] = 10
[var2] = 1.4
[var3] = 5.5

I like to add them together within report itself not within Delphi.
The function SUM([var1],[var2],[var3]) doesn't work

[MyResult] =[var1] + [var2] +[var3] doesn't work

any idea which function I use to get mathematical + - or / ?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:51PM
    Don't use the sum function. just add the vars within a set of ()
    expression in a memo ( <var1 > +<var2>)
  • edited 8:51PM
    nash wrote: »
    Hello,

    I have a report and has 3 variables , just like
    [var1] = 10
    [var2] = 1.4
    [var3] = 5.5

    I like to add them together within report itself not within Delphi.
    The function SUM([var1],[var2],[var3]) doesn't work

    [MyResult] =[var1] + [var2] +[var3] doesn't work

    any idea which function I use to get mathematical + - or / ?

    Thanks


    Thanks I'm trying to check, but this new version 5.1 designed doesn't allow to do anything, the cursor just blinking and I can't drop any control, also existsing report not working when I double click on any object.

    I have Delphi 2010 professional on windows 7. any idea guys

    Thank you

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.