Brian Dunning's FileMaker Custom Functions

Fedex_Country ( Country )

Converts country name into the two character country code used by FedEx

  Average rating: 4.1 (37 votes) Log in to vote

Yvonne Dutreaux   Yvonne Dutreaux - Show more from this author
Cordblood Registry

Share on Facebook Share on Twitter

  Sample input:
Fedex_Country ( "United States" )
Fedex_Country ( "Fiji" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

You have to convert long country names to 2 character codes to send data to the Fedex API.

If you use different long country names ex USA instead of United Statues then you can adjust the criteria to meet your needs.

If you only ship to certain countries, either move them to the top so the function doesn't have to evaluate as hard or remove the countries you do not ship to.



Log in to post comments.


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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: