Back and Forward Buttons

Version 2

     

    Script

     

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

    Description

    It seems like everyone wants back and forward navigation buttons in their FileMaker solution that mimic a web browser. Honestly, I have to tell you that I hate installing back and forward buttons because this is a database, not a web browser. Not to say that it can't be done, or that it's overly difficult, or that the features of a web browser aren't very appealing. However, back and forward buttons in FileMaker can break down at some point and they can add quite a bit of overhead to your solution depending on your approach. In fact, I've seen a number of solutions that involve custom functions and calculations that always seem to have problems in complex, controlled solutions. Therefore, what I'll be demonstrating in this solution is a small addition to an existing universal Navigation script. This method will let you selectively log the user's navigation for use with the back and forward buttons. Finally, I'll round out the solution with conditional formatting of the back and forward buttons to make it intuitive for the user.

     


    Code

     

    Sample Input

    Sample Output


    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.