Dislpaying or Hiding Fields on a Form

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.
 
A

Adrian Jansen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top