value of fields memo

HedleyHedley Peru
edited 4:30AM in FastReport 4.0
Good nigth :

i have many fields ...

Memo5 : [<data."PLDEBE01"> - <data."PLHABER01">]
Memo6 : [<data."PLDEBE02"> - <data."PLHABER02">]
..
..
Memo16 : [<data."PLDEBE12"> - <data."PLHABER12">]

i need a field with the add of memo5 + memo6 + ..... + Memo16

how a can obtain that ... i do this

Memo17 : Memo5 + Memo6 + .... + Memo16 but this not have the correct value

thanks

Hedley

Comments

  • edited 4:30AM
    I would try:
    Memo17.Text := Memo5.Text + Memo6.Text + .....
  • gordkgordk St.Catherines On. Canada.
    edited 4:30AM
    it will depend upon where you are doing it which event of which object
    Pete's suggestion tries to concantenate strings.
    you can use the value property of a memo but be careful as it is the value of the last processed
    expression in the memo.
    another method.is to use braces in the expression in the memo.

    [(<data."PLDEBE01"> - <data."PLHABER01">) +(<data."PLDEBE02"> - <data."PLHABER02">) ]

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.