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
Advanced Search 

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.


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.

    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

    Keyword Tags: Application Development, Database, Database Development, FileMaker, FileMaker Development, FileMaker Pro, Network Management

    ADVISORAMA
    Eventually it comes to you: The thing that makes you exceptional, if you are at all, is inevitably that which must also make you lonely.
    -- Lorraine Hansberry

    ARTICLE INFO

    DataBased.Advisor.com

    Web Edition: 2005 Week 02, Doc #15102

    FREE ACCESS FREE ACCESS

    This article appeared in enewsletter FILEMAKER ADVISOR UPDATE. Click to get free enewsletter subscriptions.

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2008 Advisor Media, Inc. 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, Inc. 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
    STARK02-01 posted 01/03/2005 modified 06/29/2009 03:09:27 AM ztdbms/ztdbms
    domino-144.advisor.com my.advisor.com 07/04/2009 07:28:51 AM