Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need language for IsNotNull

Status
Not open for further replies.

doerfohio

Technical User
Aug 30, 2004
34
US
Here's what I have, but the IsNotNull part isn't right. If I change it to IsNull, everything works well, But I only want this message box to appear if the Staff Name field is NOT blank.

TIA!

If IsNotNull(On_The_Clock_subform.Staff_Name) Then
response = MsgBox("You already punched in. Please punch out! ", vbOKOnly)
If response = 1 Then
Exit Sub
End If
End If
 
Code:
If Not IsNull(On_The_Clock_subform.Staff_Name) Then

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top