pb memo

My probleme is simple.

I Want that my memo1 is equals to my memo2.

I tryed with memo1.text := memo2.Text
but I have an error : " Undefined symbol "MEMO1.TEXT""

how must I make ?

Comments

  • edited 7:53AM
    Hi!

    The TFRMemoView stores its lines in the property called "Memo". Unfortunately the designer automatically assigns names to TFRMemoViews beginning with Memo... It is easy to mix them. So You should code the following:

    Memo2.Memo:=Memo1.Memo;
  • edited 7:53AM
    i have memo1.memo content with script:
    [sum(table1.field1)]

    but when i write like this:

    memo2.memo := memo1.memo

    i got the script from memo1, not the value from script. so, if i want get the value from script, can you show me the way?

    tia,
    ryan

Leave a Comment