Brian Dunning's FileMaker Custom Functions

StandardAddress ( Address )

Standardize Address Field

  Average rating: 4.5 (34 votes) Log in to vote

Bill Koller   Bill Koller - Show more from this author
Anchor Consulting LLC

Share on Facebook Share on Twitter

  Sample input:
StandardAddress(123 North Main Street)
  Sample output:
123 N Main ST

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

If used as a Calculated Value this will Change what the user typed in to a standard format for all records. Some People type Road, well this can be hard to search if someone searches for RD.

 

Comments

Darren Terry   Darren Terry, Pacific Data Management, Inc.
Dec 9, 2009
That function looks good, but is incomplete. It is missing a closing parenthesis that is required in order for it to be a valid formula.
 
Lee Smith   Lee Smith
Dec 11, 2009
This breaks when the name of the Street is West, North, South, etc.

And, many towns will use different forms of numbers, such as First, and 1st for different streets.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. 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 20 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: