Sum of Variables
How to add or get sum of variables within report designer NOT run time or script
I???m trying to use sysmemo
I tried
[SUM(<var1> , <var2>)]
But didn???t work
Thanks
I???m trying to use sysmemo
I tried
[SUM(<var1> , <var2>)]
But didn???t work
Thanks
Comments
Have a look at demos - how to use agregate functions.
If - as you write - you need to add two VARIABLES then try such a construction:
Mick
Thank you
I couldn't make works
Memo1.Text:= floattostr(strtofloat(Report.Variables) + strtofloat( Report.Variables));
I'm geeting error, if I remove strtofloat, then I get string values like "12""3" insteade 15
Thanks again
But if one uses we get an error that nash mentioned.
My suggestion to nash is: attach an example of your code you use to set initial values of var1 and var2.
Without knowing that is difficult to find a real source of error in your script:
Mick