value of fields memo
Hedley
Peru
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
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
Memo17.Text := Memo5.Text + Memo6.Text + .....
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">) ]