Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify InputMask
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00366553
Message ID:
00366810
Vues:
18
>>This is incorrect - the Canadian Postal code is always a sequence of 6 character, alternating between an uppercase alpha and a numeral. You'd be much closer with:
>>
>>"!9!9!9"
>>
>>and then in validation ensure that positions 1, 3 and 5 have values between "A" and "Z", and positions 2, 4 and 6 are valid digits.
>
>Technically, doesn't the Canadian code always use a space at char #4, and is 7 chars long? That's the way I always have it, and I deal with a lot of Canadians.

I looked in the DMM - it shows the use of the space as optional in the printed address, and it must be omitted in the PostCode barcode. The space in the middle is primarily an aid for postal employees doing manual sortations.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform