Value from a memo to other memo
Hello...
First, I want say that my english is bad, I'm from Brasil, sorry if
somebody don't understand...
Well...
I need that a value from a Memo go to other memo...
Example:
I have Memo1 that your value is Gardel... I want that this value go to
Memo2...
I try write [Memo1.value := Memo2.value] and other variants but is wrong FR dont
accept...
Then how I do for that a value from this memo go to other memo?
Please I need help...
First, I want say that my english is bad, I'm from Brasil, sorry if
somebody don't understand...
Well...
I need that a value from a Memo go to other memo...
Example:
I have Memo1 that your value is Gardel... I want that this value go to
Memo2...
I try write [Memo1.value := Memo2.value] and other variants but is wrong FR dont
accept...
Then how I do for that a value from this memo go to other memo?
Please I need help...
Comments
Memo2.Text := Memo1.Text;
The FR generate a error... says that syntax are wrong.
The memos that i'm speaking is memos from FR...
Example:
I have a memo your name is Memo1 and your value is [CUSTOMER."NAME"] I need that this value go to other memo that your name is Memo2...
I know that if i write [CUSTOMER."NAME"] in memo2, I will have the same value, but I dont want... i need refer the memo1 in value from the memo2
If I'm in delphi I write Memo1.Text := Memo2.Text, but I'm inside FR...
The memos are from FR no Delphi.
Thanks a lot
Sorry by my bad english...
I meant to write
Memo2.Text := Memo1.Text;
this code OnBeforePrint event of the band where the memos are on.
since the value property is the result of the expression, variable or datafield.
ie
after memo9 has retreived it's data put the value into memo10s text.
procedure Memo9OnAfterData(Sender: TfrxComponent);
begin
memo10.memo.text := VarToStr(memo9.value);
end;
Note text object's memos are multi lined so the value returned will be that of the last expression calculated.
ie if memo9 contained
[CUSTOMER."NAME"]
[CUSTOMER."addr1"]
the result value returned from the value property of memo9 would be the value of
[CUSTOMER."addr1"]