add variables

edited 10:56PM in FastReport VCL 5
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 10:56PM
    Don't use the sum function. just add the vars within a set of ()
    expression in a memo ( <var1 > +<var2>)
  • edited 10:56PM
    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