G
Guest
Here is the code (placed in the On Current event in Form and placed in the On
Activate event in the control 'categories'.
Private Sub Form_Current()
If Me.category = "Throws" Then
Me.FCFeather.Enabled = False
Me.FCPoly.Enabled = False
Me.FCShell.Enabled = False
Me.FCThrow.Enabled = True
ElseIf Me.category = "Pillows" Then
Me.FCFeather.Enabled = True
Me.FCPoly.Enabled = True
Me.FCShell.Enabled = True
Me.FCThrow.Enabled = False
End If
Me.Refresh
End Sub
It will work initially but if I go back to the size control (which will
select the category for me automatically) and change it then the enable
feature does not do what it is told to do (the way i see it).
What am I missing ???
Activate event in the control 'categories'.
Private Sub Form_Current()
If Me.category = "Throws" Then
Me.FCFeather.Enabled = False
Me.FCPoly.Enabled = False
Me.FCShell.Enabled = False
Me.FCThrow.Enabled = True
ElseIf Me.category = "Pillows" Then
Me.FCFeather.Enabled = True
Me.FCPoly.Enabled = True
Me.FCShell.Enabled = True
Me.FCThrow.Enabled = False
End If
Me.Refresh
End Sub
It will work initially but if I go back to the size control (which will
select the category for me automatically) and change it then the enable
feature does not do what it is told to do (the way i see it).
What am I missing ???