SUM memos in memo problem
Hi,
In report I have two memos with numbers in it. In third memo I write "[memo31.Text]+[memo36.text]". I want to get sum, but I get "1000+2000".
In report I have two memos with numbers in it. In third memo I write "[memo31.Text]+[memo36.text]". I want to get sum, but I get "1000+2000".
Comments
you use [] braces to display a variable or datafield value in a memoviews memo.
which can contain static text and expressions.
which in your case the + is being treated as static text
and since you are working with the memo's text property you are attempting to concantenate 2 strings.
what you probably want to do is
use the 2 datafields or variables contained in the 2 memos
[(<datasetname."field1"> + <datasetname."field2>)]
or use the value property of the memos.