How do I create cascading forms?

foxy

Registered User.
Local time
Today, 12:14
Joined
Feb 17, 2009
Messages
64
Hi,

I have a form that has unbound text boxes on it.

How can I hide a section of the form until the user checks a box? When the user checks a box I want the hidden text boxes to appear, much like a cascading web form.

Cheers
 
You can use some VBA to do this, In the After_Update event of your checkbox you can put something like this:

Code:
Private sub chkbox_After_Update()
  If (Me.chkbox = True) Then
    Me.txtbox1.Visible = True
    Me.txtbox1.Visible = True
    .. etc
  End If
End Sub

JR
 
Thats sort of the thing yea, but that only allows a particular text box to expand depending on what is stored in it. I actually want a whole section of the form to appear and dissapear on the click of a check box.
 

Users who are viewing this thread

Back
Top Bottom