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 - Show more from this author
Cordblood Registry |
Fedex_Country ( "Fiji" )
FJ
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.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.