value of fields memo

HedleyHedley Peru
edited 1:47AM 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 1:47AM
    I would try:
    Memo17.Text := Memo5.Text + Memo6.Text + .....
  • gordkgordk St.Catherines On. Canada.
    edited 1:47AM
    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