Address Formatting

Version 2

     

    Web Viewer

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 8.5, 9, 10, 11
    Formulations Pro
    Web: Yes
    File Type: FP7
    Server: No
    FileSize: ~ .73 megabytes
    http://www.formulationspro.com

    Description

    Anyone that has built a contact system to print labels or envelopes with address information has run into the problem of how to get FileMaker to slide mail-merge instead of leaving a blank line for empty fields. The answer to this problem is quite simple. Create a custom function to handle any possible set of contacts fields and display it in the correct format. That makes your field calculation or Web Viewer simple to handle.

     


    Code
    See sample file for full demo and technical article.

     

    Sample Input

    Sample Output
    See sample file for full demo and technical article.

    See sample file for full demo and technical article.

    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.