Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need algorithm for cleaning check numbers
Message
From
12/04/2000 20:57:21
Jim Crowder
Progressive Group Alliance
Boise, Idaho, United States
 
 
To
12/04/2000 20:46:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00359011
Message ID:
00359056
Views:
12
How about :
*--- make sure we have digits only for the Phone Number
IF !EMPTY(nCharPhone)
FOR i = 1 TO nCharPhone
IF !ISDIGIT(SUBSTR(cPhone,i,1))
MESSAGEBOX ("Phone number should contain the numbers 0-9 only!")
RETURN
ENDIF
NEXT
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform