We help IT Professionals succeed at work.

Show Control Visibile Property

NuclearOil
NuclearOil asked
on
Experts,

I have a control "Department" on a form and if that control equals "Supplier", another control on the same form called "Supplier" becomes visible. I have been trying the IsVisible property and I cannot get it to work:

If Me.Department = "Supplier" Then Me.Supplier.IsVisible = True

Any help is appreciated.
Comment
Watch Question

Try to use this instead:

If Me.Department = "Supplier" Then Me.Supplier.Visible = True

Sincerely,
Ed

Author

Commented:
That worked, thank you.