Brian Dunning's FileMaker Custom Functions

GoogleDirections ( Street1 ; Suburb1 ; State1 ; Zip1 ; Country1 ; %

Creates URL to display Google Directions from address data

  Average rating: 4.3 (41 votes) Log in to vote

Chris Pye   Chris Pye - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
GoogleDirections ( "190 Weller Road"; "Tarragindi"; "Qld"; "4121"; "Australia"; "148 Ipswich Road"; "Wooloongabba"; "Qld";
  Sample output:

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

Takes two addresses and returns text formatted as a URL to display a Google Map with directions. This can be used to open a URL or Web Viewer window.

Street can be on multiple lines, and can contain unit numbers etc.
State can be abbreviated or full.

If country field is empty, it will default to the country set in DefaultCountry variable.



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: