Topic: [SOLVED] Hide a Memo field
Hey report gurus,
.
I'm hoping to solve this without posting a project... because it's a snippet.
.
I am simply trying to hide a (I'm not sure what they're called in Reports) Memo field maybe?
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
if Memo1.Value = '00:00' then
Memo1.Visible := False;
end;
.
The field is referencing a DateTime field from the database. And it is formatted to only show the time as hh:mm.
.
Is there a way to test the contents (for conditional formatting type stuff)? I have tried Memo1.Value and Memo1.Text... are there any other properties to test for this?
.
Thanks in advance,
-joshuA