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".

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:35AM
    you don't understand what you are trying to do.
    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.

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.