AmyLynnHill
Registered User.
- Local time
- Today, 08:58
- Joined
- Dec 7, 2005
- Messages
- 81
I have a form that displays 1000 records. On the form is an option button "do not Contact". when it is toggled on (-1) I want a label to be visible(properties are set to visible=no).
Here is my code
Private Sub Option369_Click()
If DoNotCommWithGrp.Value = -1 Then
Me.DoNotContactLbl.Visible = True
Else
Me.DoNotContactLbl.Visible =False
End If
End Sub
The problem is the label appears on all the records on the form once it is toggled on/off. I only want it to appear for the records that has the option button selected.
What I'm I doing wrong?
Here is my code
Private Sub Option369_Click()
If DoNotCommWithGrp.Value = -1 Then
Me.DoNotContactLbl.Visible = True
Else
Me.DoNotContactLbl.Visible =False
End If
End Sub
The problem is the label appears on all the records on the form once it is toggled on/off. I only want it to appear for the records that has the option button selected.
What I'm I doing wrong?