Help on Subform please.

bill crumpton

Registered User.
Local time
Today, 22:12
Joined
Apr 20, 2000
Messages
105
I have a form that contains a yes/no control that when checked will make the subform visible and when unchecked make the subform invisible. The problem I am having is that when I check the control the subform will not appear unless I close the form and enter into it again. I have tried requery the Master form but that doesn't seem to help. how can I get the subform to dynamically appear when the yes/no control is pressed? Thanks all for your help.

BAC
 
Does your code in the After Update event of the Check box look something like this:

If Me.CheckBoxName = -1 Then
Me.MySubform.Visible = True
Else
Me.MySubform.Visible = False
End If

This code works for me....
 
Thanks Jack that worked perfectly.

BAC
 

Users who are viewing this thread

Back
Top Bottom