peskywinnets
Registered User.
- Local time
- Today, 20:16
- Joined
- Feb 4, 2014
- Messages
- 578
I need to test a field to establish if there's a number present withing the string & if there is capitalize all characters in the string, but if not then to make the field a Null. There must be a slicker way of doing the checking part than this...
top tips warmly received
Code:
If (InStr(MyString, "0") > 0) Or (InStr(MyString, "1") > 0) Or (InStr(MyString, "2") > 0) Or (InStr(MyString, "3") > 0) Or (InStr(MyString, "4") > 0) Or (InStr(MyString, "5")) Or (InStr(MyString, "6")) Or (InStr(MyString, "7") > 0) Or (InStr(MyString, "8") > 0) Or (InStr(MyString, "9") > 0) Then
top tips warmly received

Last edited: