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

FileMaker Pro 7 Features in Opposition: Sort Order

Improve your FileMaker Pro 7 development efforts by learning about a situation in which features in FileMaker Pro 7 can overrule each other.

By Jonathan Stark, The Moyer Group project manager


There are places in FileMaker 7 in which you can "overrule" something you did somewhere else (for example, forcing a user to change his password at first login, but not granting him permission to do so). This tip shows you an example of these "features in opposition" to save you the time and trouble of finding it yourself.
Figure 1: Edit Relationship dialog -- First, you define the relationship to sort based on the contents of the Name field in the Person table. Here, you opened the Sort Records dialog from the Edit Relationship dialog, which is just behind it.

Figure 2: Sort by name -- The portal rows display in ascending order by name, as specified in the Edit Relationship dialog.

Figure 3: Portal Setup dialog -- Next, you define the portal to sort based on the contents of the Age field in the Person table. Notice you've opened the Sort Records dialog from the Portal Setup dialog, which is just behind it.

Figure 4: Sort by age -- The portal rows display in ascending order by age, as you specified in the Portal Setup dialog.

Edit Relationship Sort Records dialog vs. Portal Setup Sort Records dialog

As in previous versions, FileMaker Pro 7 lets you specify a sort order in the Edit Relationship dialog (figures 1 and 2). What's unique to FileMaker Pro 7 is the ability to specify a sort order in the Portal Setup dialog (figures 3 and 4). Of course, in cases where you've specified a sort order in both a portal and the relationship on which the portal is based, the question of precedence arises.

Fortunately, the answer to this is refreshingly straightforward: The sort you've specified in the Portal Setup dialog prevails. This is nice because it lets you specify general sort criteria globally at the relationship level and handle less common exceptions on a case-by-case basis at the portal level without creating a bunch of otherwise useless utility relationships. Pretty cool!

This tip comes from "More FileMaker Pro 7 Features in Opposition" in FILEMAKER ADVISOR magazine. In the article, Jonathan discusses situations in which features in FileMaker Pro 7 can overrule each other. These tips can save you the time and trouble of running into these scenarios yourself, and learning about these nuances can improve your FileMaker Pro 7 development efforts. Magazine subscribers can read the article at http://Advisor.com/doc/14644.


Jonathan StarkTechnical editor Jonathan Stark is an author and instructor who specializes in FileMaker/PHP Web applications for creative professionals. Past clients include Staples, Turner Broadcasting, and Ambrosi (now Schawk). He has spoken at the FileMaker Developers Conference, has had numerous articles published in FileMaker Advisor and php|architect magazines, and is the author of the book Web Publishing with PHP and FileMaker 9 available from SAMS Publishing. Jonathan is reluctant to admit that he began his programming career more than 20 years ago on a Tandy TRS-80. http://jonathanstark.com

Printer-friendly
page layout

FileMaker Pro 7 Features in Opposition: Sort Order

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: 2005 Week 02, Doc #15102

    FREE ACCESS FREE ACCESS

    Keyword Tags: Apple, Application Development, Database, Database Development, Development, FileMaker, FileMaker Development, FileMaker Pro, IT Networking, Network Management, Portals, Software Development

    ADVISORAMA
    The Act of God limitation on all insurance policies means, roughly, that you cannot be insured for the accidents that are most likely to happen to you.
    -- Alan Coren

    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
    oa STARK02-01 posted 2005-1-3 mod 03/15/2010 03:10:34 AM ztdbms/ztdbms
    domino-144.advisor.com my.advisor.com 03/21/2010 08:11:54 AM