How to set invisible subreport (dynamic)
Hello,
How to set subreport invisibile during the execution of an application.
OnBeforePrint
I can't intercept
if view.name='SubReport1' Then ...
Thank you
Olivier
How to set subreport invisibile during the execution of an application.
OnBeforePrint
I can't intercept
if view.name='SubReport1' Then ...
Thank you
Olivier
Comments
so i think subreport can't to be detected by event"onbeforeprint".
I'm looking for another solution.
1: If Sender.Name = 'SubReport6' then
2: Sender.Visible := Display[1][1] = 'X'
Thank you
olivier
Now
If SameText(Sender.Name,'SubReport6') then
Sender.Visible := Display[1][1] ='X';
Thank you