J
Jonathan
Hi using Access 2003, is there a way to check whether a string contains alpha
characters?
Here is my code that checks string for at least 1 alpha character
For myLoop = 1 To Len(myString)
myChr = Mid(myString, myLoop, 1)
If myChr > Chr(64) And myChr < Chr(91) Or _
myChr > Chr(96) And myChr < Chr(123) Then
msg = vbNullString
Exit For
End If
Next myLoop
I guess that I'm looking for a function that returns the ascii number of
myChr.
Any ideas or suggestions appreciated
Many thanks,
Jonathan
characters?
Here is my code that checks string for at least 1 alpha character
For myLoop = 1 To Len(myString)
myChr = Mid(myString, myLoop, 1)
If myChr > Chr(64) And myChr < Chr(91) Or _
myChr > Chr(96) And myChr < Chr(123) Then
msg = vbNullString
Exit For
End If
Next myLoop
I guess that I'm looking for a function that returns the ascii number of
myChr.
Any ideas or suggestions appreciated
Many thanks,
Jonathan