My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
   
SUBSCRIPTION STATUS
If you are a subscriber to this publication, sign-in to access locked articles. To subscribe or renew go to www.AdvisorStore.com.
Go to Article

ADVISOR TIPS

Understanding the Mechanics of FileMaker Pro Validation

How and when does FileMaker Pro decide when to check validation?

By Stuart Gripman, technical editor


How and when does FileMaker Pro decide when to check validation? FileMaker Pro runs valdiations at the time a record is committed. Committing is the term for FileMaker Pro's automatic saving process, which can happen in a number of ways. Clicking on whitespace and switching to another record are the most common ways users commit a record. If all field validations pass, the record is silently saved. If a validation fails, the record is not saved and the user sees a message like the one in figure 2. Unique Value and Existing Value validations are exceptions; they validate as soon as you exit the field.

But if validation happens on commit, what's the difference between validating "Always" versus "Only during data entry, as shown in figure 1? Choosing "Always" means FileMaker Pro performs field validation each time a user views a record. "Only during data entry" only validates if the user makes a change to the record.

The message in figure 2 is notoriously confusing to users. Clicking on Yes means "I know this field value breaks the rules, but I'm going to keep it anyway." Clicking on No means "I didn't mean to break the rule and I'd like to go back and fix it." Clicking on the Revert Record option means "Forget it. Change this whole record back to the way it was before I started making changes." It also means "Throw the baby out with the bath water." The Revert Record option tosses out any change to any field in the current record that was entered after the last time it was committed.

-- Stuart


Figure 1: Validation options -- FileMaker Pro provides several different ways to figure out if somebody screwed up.


Figure 2: When validation fails -- The default message shown when validation fails is much like bad technical support — completely accurate and almost useless.

Stuart GripmanStuart Gripman is the founder and president of Crooked Arm Consulting, a FileMaker Solutions Alliance Partner firm in Berkeley, California. He previously held Senior Support positions at Claris Corp. and FileMaker Inc. Since 2000, Crooked Arm Consulting has offered custom FileMaker solutions benefiting a wide variety of people and causes from fine art patrons to the International Space Station. http://www.crookedarm.com stuart@crookedarm.com

Printer-friendly
page layout

Understanding the Mechanics of Validation

No reader comments ... yet.

    What do YOU think about this topic? Share your advice and thoughts using this form.

    Your Name

    REQUIRED : PUBLIC

    Your E-Mail

    REQUIRED : PRIVATE

    Job, Company

    OPTIONAL : PUBLIC

    City, State, Country

    OPTIONAL : PUBLIC

    Your Web Site

    OPTIONAL : PUBLIC

    Your Comment

    Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


    Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

    ARTICLE INFO

    Web Edition: 2009 Week 14, Doc #19610

    FREE ACCESS FREE ACCESS

    Keyword Tags: FileMaker, FileMaker FileMaker Pro, FileMaker Users, Validation

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2010 Advisor Media, LLC. All Rights Reserved.
    Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
    ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, LLC in the United States and/or other countries.
    Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
    Hosted by Prominic.NET Website powered by
    LOTUS SOFTWARE
    ztfmfu0903 grips023-02 posted 2009-3-30 mod 03/15/2010 03:12:18 AM ztfmfu/
    domino-144.advisor.com my.advisor.com 03/20/2010 03:22:52 AM