Software Venture Consulting
ToMarket

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Brian Dunning
Contact me | vCard


Brian on CNN
Brian on CNN


Brian on CBS Radio


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

StateConvert ( postal ; type )

Rate this function:  

  Average rating: 3.0  (3 votes)

Marc Wood, studentpress.org
http://nspa.studentpress.org

Convert US/Canadian states/provinces to full name, abbreviation or country

Sample Input:
StateConvert ( "WY" , "Abbrev" )
Sample Output:
Wyo.


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

if you have myFMbutler's Clip Manager installed

Description:

This function converts any two-letter US or Canadian postal code for states/provinces to one of three formats based on the type parameter:

"Abbrev" : Associated Press-style abbreviations
example: StateConvert ( "WY" , "Abbrev" ) = Wyo.

"Full" : Full state/province name
example: StateConvert ( "IA" , "Full" ) = Iowa

"Country" : The country in which the state/province is located
example: StateConvert ( "ON" , "Country" ) = Canada

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. array.cellValueByColTitle (array ; rowName ; column ; delimiter ; useTitle )
  (Mon, Jan 05, 5:39pm)
2. array.cellValueByColNum ( array ; rowName ; column ; delimiter )
  (Mon, Jan 05, 11:09am)
3. EmailName ( account )
  (Fri, Jan 02, 7:46pm)
4. GetFileName ( FullName )
  (Tue, Dec 30, 1:46pm)
5. Intersection Set ( ListA ; ListB )
  (Mon, Dec 29, 7:32pm)
6. NumberFormat ( Number ; DecimalPrecision ; ThousandSeparator )
  (Wed, Dec 17, 1:23pm)
7. SwitchList ( ListA ; ListB ; CaseSensitive )
  (Wed, Dec 17, 3:28am)
8. RandomList ( ListToRandom )
  (Wed, Dec 17, 2:50am)

RSS Feed of Custom Functions