G
Guest
i'm using a2k and i have an option group called "Disposition" which has four
toggle buttons having values in the underlying table of 1,2,3 and 4. i wrote
this small vba for the form's on current situation so that whenever the
current record has a value of 3 or 4 a txt/label controls are visible
otherwise they aren't.
Private Sub Form_Current()
If Me.Disposition = 3 Or Me.Disposition = 4 Then
Me.Reason_Appvl_Denied.Visible = True
Me.Reason_Label.Visible = True
Else
Me.Reason_Appvl_Denied.Visible = False
Me.Reason_Label.Visible = False
End If
End Sub
it works just fine....the 'thing' about the form's development so far is
that selecting options 3 or 4 has no effect on the visibility of the two
controls. can someone help me out?
-ted
toggle buttons having values in the underlying table of 1,2,3 and 4. i wrote
this small vba for the form's on current situation so that whenever the
current record has a value of 3 or 4 a txt/label controls are visible
otherwise they aren't.
Private Sub Form_Current()
If Me.Disposition = 3 Or Me.Disposition = 4 Then
Me.Reason_Appvl_Denied.Visible = True
Me.Reason_Label.Visible = True
Else
Me.Reason_Appvl_Denied.Visible = False
Me.Reason_Label.Visible = False
End If
End Sub
it works just fine....the 'thing' about the form's development so far is
that selecting options 3 or 4 has no effect on the visibility of the two
controls. can someone help me out?
-ted