Dislpaying or Hiding Fields on a Form

  • Thread starter Thread starter JustMe
  • Start date Start date
J

JustMe

Hi All - I have a form comprised of a bunch of subforms. Is there a way
that I can have fields on the subform(s) displayed/hidden if the value
of another field from a main form is true/false? In other words, I want
to have a 1st page on the form where people can select which "topics"
they want to fill in and therefor not display the components they don't
want to enter information for. I'm not even sure what to look for when
I look in the help system.

thanks.
 
Look for the "visible' property. You can set this to True or False on each
control or subform to show/hide the controls.

If you do this from a checkbox its easy, since a checkbox is also True or
False:

In the chkMySelection_Click event just put

Me.myControl.visible = Me.chkMySelection

Substitute your own names for the controls.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 
Back
Top