G
Guest
I have the following code already there and it does what it needs to... sort
of.
Private Sub Form_Open(Cancel As Integer)
Dim strActiveNo As String
ctlActiveNo = Me.optActiveNo
If strActiveNo = 1 Then
Me.txtTermDate.Visible = False
Else
If strActiveNo = 2 Then
Me.txtTermDate.Visible = True
Else
End If
End If
End Sub
However, it only does the first record in the form.
How do I set it to go through all the records in the form?
Thanks,
Jennifer
of.
Private Sub Form_Open(Cancel As Integer)
Dim strActiveNo As String
ctlActiveNo = Me.optActiveNo
If strActiveNo = 1 Then
Me.txtTermDate.Visible = False
Else
If strActiveNo = 2 Then
Me.txtTermDate.Visible = True
Else
End If
End If
End Sub
However, it only does the first record in the form.
How do I set it to go through all the records in the form?
Thanks,
Jennifer