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

USStateName ( StateAbbrev )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 1.7  (3 votes)
  Discuss this Custom Function

Eric Troedsson, NC Credit Repair
http://www.nccreditrepair.com

Converts the Postal Code of a US State to its two-letter Postal abbreviation

Sample Input:
StateAbbrev = USStateName
Sample Output:
NC=North Carolina


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

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

We use this function often in our credit repair business' custom-built FileMaker application when generating documentation for the client. A simple but useful function. Thanks!

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

Discuss:

The syntax of this CF is incorrect:

USStateName ( StateAbbrev ; StateFullName )

You obviously do not need to supply the StateFullName to receive it as output!

Correct syntax would be:

USStateName ( StateAbbrev )

David Head, Darwin Australia
February 16, 2010 11:27pm

A problem with this CF is that no error condition is passed. What happens if I enter AB as a state abbreviation - no result. There should at least be some default condition to indicate an error has occurred.

David Head, Darwin Australia
February 16, 2010 11:29pm

Please feel free to modify as needed. Works for what we require, 'nuff said.

Eric Troedsson, Durham, NC
February 17, 2010 7:03pm

The problem with this function is that it isn't a function at all. It's a table of data.

comment, VR
February 17, 2010 11:53pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 2 + 2 =
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. MaxLength ( field, foundCnt )
  (Thu, Jul 29, 4:37pm)
2. DayCounter ( Date_Start ; Date_End; Days_of_Week )
  (Wed, Jul 28, 1:20pm)
3. Is_FM_Go_iPad
  (Fri, Jul 23, 7:55am)
4. Is_FM_Go
  (Fri, Jul 23, 7:54am)
5. IsFilled ( field )
  (Wed, Jul 21, 7:19am)
6. DateQuarterAsRange ( theDate )
  (Thu, Jul 15, 5:37pm)
7. DateQuarterEnd ( theDate )
  (Thu, Jul 15, 5:35pm)
8. DateQuarterBegin ( theDate )
  (Thu, Jul 15, 5:30pm)

RSS Feed of Custom Functions