Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a bad zipcode
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01170759
Message ID:
01170795
Views:
10
>
>set filter to PADL(transform(val(ZipCode)),"0",5) <> ZipCode AND NOT(ISNULL(ZipCode) OR EMPTY(ZipCode))
>
>
>Keep in mind this will eliminate all Canadian zip codes (because they have letters in them).

Canadian Postal Codes <g> have also 6 characters, so I guess he is not using them
"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
Reply
Map
View

Click here to load this message in the networking platform