Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a bad zipcode
Message
 
To
17/11/2006 13:05:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01170759
Message ID:
01170778
Views:
11
Maybe
set filter to ! (isnull(ZipCode) or transform(val(ZipCode), '@L 99999') == ZipCode)
>the following code:
>
>set filter to ! transform(val(ZipCode)) == ZipCode
>
>reveals blanks and zipcodes beginning with 0 as well as those containing alpha characters.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform