A
aMack
On the Field [Customer Invoice Date] - I have the following code on a form
Private Sub Text35_Change()
If (Me.Ready_to_Bill) = No Then
MsgBox "Cannot Invoice if READY TO BILL is not Selected"
Cancel = True
Me.[Customer Invoice Date].Value = Null
Me.[Customer Invoice number].SetFocus
End If
End Sub
No matter what I do the Setfocus gives me an error. I tried changing the
Setfocus to a simpler named field but no change.
Could it be that the field [Customer Invoice Date] is a date field?
Private Sub Text35_Change()
If (Me.Ready_to_Bill) = No Then
MsgBox "Cannot Invoice if READY TO BILL is not Selected"
Cancel = True
Me.[Customer Invoice Date].Value = Null
Me.[Customer Invoice number].SetFocus
End If
End Sub
No matter what I do the Setfocus gives me an error. I tried changing the
Setfocus to a simpler named field but no change.
Could it be that the field [Customer Invoice Date] is a date field?