Hi D,
There is no input mask that will work for all postal codes. Either trust
the user, or write code to validate what the user has typed (taking into
account international addresses etc.). There's informatoin on postal
codes at http://www.columbia.edu/kermit/postal.html , and a
general-purpose validation function with postal code examples at
http://www.mvps.org/access/modules/mdl0063.htm
>Does anybody know of a workable Input Mask for a Postal
>Code.
>
>Thanks
>D
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
Alex - 23 Aug 2004 19:37 GMT
How do you use regex in microsoft Access?
John Nurick - 24 Aug 2004 06:40 GMT
Hi Alex,
You can use the VBScript Regex object (in the Micrososoft VBScript
Regular Expressions 5.5 library). This
http://www.mvps.org/access/modules/mdl0063.htm is an example of using
it.
>How do you use regex in microsoft Access?
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
John Nurick - 24 Aug 2004 07:08 GMT
See also my post just now under the subject "Insert Dashes".
>How do you use regex in microsoft Access?
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.