Auto Enter Default Value

Version 2

     

    Script

     

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

    Description

    Auto entering data for your users saves a tremendous amount of time for data entry. It also ensures that the data is spelled accurately, which makes searching for information tremendously easier. However, a programming problem occurs with auto-enter calculations when a new record is created if the users are allowed to modify the value list or if your business rules change over time. Then the values in the value list no longer match the auto-enter calculation unless you change the calculation. This is a headache for the programmers. However, there's an easy way to solve all of these issues with one simple calculation.

     


    Code
    See sample file

     

    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.