E
Ernie Lippert
If [FunctionHours] = Null Then
[DateCompleted].SetFocus
If [DateCompleted].Value > 0 Then
Response = MsgBox("When a completed project date is entered,
Total Function Hours must be entered. 0 is allowed. ", vbOKOnly, "Completed
Project Warning")
DoCmd.GoToControl "FunctionHours"
Else
End If
End If
What is wrong with this code. When [FunctionCode] = Null the code goes to
the final End If without executing the in interveining code. Must be
something faily stupid.
[DateCompleted].SetFocus
If [DateCompleted].Value > 0 Then
Response = MsgBox("When a completed project date is entered,
Total Function Hours must be entered. 0 is allowed. ", vbOKOnly, "Completed
Project Warning")
DoCmd.GoToControl "FunctionHours"
Else
End If
End If
What is wrong with this code. When [FunctionCode] = Null the code goes to
the final End If without executing the in interveining code. Must be
something faily stupid.