is it possible to use Value instead of text for memo ?

edited 6:57AM in FastReport 4.0
Hi,
I used to change memo text using this code:
var
  Memo: TfrxMemoView;
begin
  Memo := frxReport1.FindObject('Memo1') as TfrxMemoView;
  Memo.Text := 'any data';
  frxReport1.ShowReport;

But when I tried to use value nothing was set, the memo does not get affected.
Memo.value := 45.7;

I did not able to find any information about value in the documents so I dont know why it is not working ?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:57AM
    no you cannot the value property of a tfrxmemoview is only available after the memos expressions have been
    processed and they only contain the value of the last expression processed.
  • edited 6:57AM
    Many thanks gordk
  • edited 6:57AM
    try
    memo1.memo.text:='47.5';
    

Leave a Comment