hide memo field

edited 9:51PM in FastReport 4.0
hi every on
i want hide memo 1 if memo 2 value = memo 3 value
thank you

Comments

  • gpigpi
    edited 9:51PM
    If Memo2 and Memo3 have a static text
    procedure Memo1OnBeforePrint(Sender: TfrxComponent);
    begin
      Memo1.Visible := Memo2.Text <> Memo3.Text;
    end;
    
    If Memo2 and Memo3 have expressions - you should compare these expressions instead of TfrxMemoView.Text
  • edited 9:51PM
    thank you gpi

    but i am beginner and i cant understood fast report
    that is my file i want make memo 19 hide if memo 53 = memo 2
  • gpigpi
    edited 9:51PM
    procedure Memo19OnBeforePrint(Sender: TfrxComponent);
    begin
      Memo19.Visible := <frDSet."viewEntryS_PRICE"> <> <frDSet."ViewEntryUnit_Price">;                                                              
    end;
    
  • edited 9:51PM
    thank you very much mr gpi

Leave a Comment