C cliff7376 Registered User. Local time Today, 23:06 Joined Oct 10, 2001 Messages 107 Jul 17, 2002 #1 how do I check my text box value see if i have a "-" in it.? Thank you
N [nateobot] Registered User. Local time Today, 17:06 Joined Jul 15, 2002 Messages 64 Jul 17, 2002 #2 Code: If InStr(Text1.Value, "-") Then MsgBox "No dang -'s" End If Substitute Text1 with your textbox's name. You can stick this snippet in a command button validation or in the textbox's BeforeUpdate Event.
Code: If InStr(Text1.Value, "-") Then MsgBox "No dang -'s" End If Substitute Text1 with your textbox's name. You can stick this snippet in a command button validation or in the textbox's BeforeUpdate Event.