Hey Friends,
This Post is all about validating a proper Zip Code. Just 2 3 lines of code needed and you can validate your zip code. So below is the line of code that you just need to write.
//RWN
IF NOT Regex.Match(ZipCode, ‘^\d{5}$’ ).Success THEN
EXIT(FALSE)
ELSE
EXIT(TRUE);
//RWN
Regex DotNet System.Text.RegularExpressions.Regex.’System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′
CHEERS
Pingback: Check Valid Zip Code - Microsoft Dynamics NAV Community
Pingback: Check Valid Zip Code - Dynamics NAV by RockWithNAV - Dynamics NAV Users - DUG
Maybe in a local situation.
http://stackoverflow.com/questions/578406/what-is-the-ultimate-postal-code-and-zip-regex
Yes exactly, Sometimes it comes up with certain combinations.