G
Guest
I am having a problem with on Form_Current() procedure on my form. When i
add a the following statements in my Form_Current(), the next navigation
button can be pressed forever therefor allowing blank records. What do I
need to add so that it does not do so.
Private Sub Form_Current()
If Other = True Then
Me.OtherDescription.Enabled = True
Else
Me.OtherDescription.Enabled = False
End If
If Me.CrDecision = "Denied" Then
Me.SetupID.Enabled = True
Else
Me.SetupID.Enabled = False
Me.SetupID = ""
End If
If Me.LoanType = "Vendor" Then
Me.JointVenID.Enabled = True
Else
Me.JointVenID.Enabled = False
Me.JointVenID = ""
End If
end sub
add a the following statements in my Form_Current(), the next navigation
button can be pressed forever therefor allowing blank records. What do I
need to add so that it does not do so.
Private Sub Form_Current()
If Other = True Then
Me.OtherDescription.Enabled = True
Else
Me.OtherDescription.Enabled = False
End If
If Me.CrDecision = "Denied" Then
Me.SetupID.Enabled = True
Else
Me.SetupID.Enabled = False
Me.SetupID = ""
End If
If Me.LoanType = "Vendor" Then
Me.JointVenID.Enabled = True
Else
Me.JointVenID.Enabled = False
Me.JointVenID = ""
End If
end sub