hide memo field

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

Comments

  • gpigpi
    edited 11:11AM
    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 11:11AM
    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 11:11AM
    procedure Memo19OnBeforePrint(Sender: TfrxComponent);
    begin
      Memo19.Visible := <frDSet."viewEntryS_PRICE"> <> <frDSet."ViewEntryUnit_Price">;                                                              
    end;
    
  • edited 11:11AM
    thank you very much mr gpi

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.