making controls invisible

  • Thread starter Thread starter w
  • Start date Start date
W

w

Hi all,

I want to be able to toggle a control's visibility off
when a certain condition is met.
E.g. : if control.value = 0 or control.value = null then
me.control.visible = false
endif

But dat does not seem to be working in a report.

Can anyone help ?

Thank you very much,

W
 
Hi all,

I want to be able to toggle a control's visibility off
when a certain condition is met.
E.g. : if control.value = 0 or control.value = null then
me.control.visible = false
endif

But dat does not seem to be working in a report.

Can anyone help ?

Thank you very much,

W

In the Report section Format event that the control is in:

[AControl].Visible = Not (IsNull([AControl]) Or [AControl]= 0)
 
Back
Top