|
|
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.
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.
Technical 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
Keyword Tags: Application Development, Database, Database Development, FileMaker, FileMaker Pro, Network Management
ADVISORAMA As you go into the future, find time to become a happy person. -- Alistair Cooke
|
ARTICLE INFO
Web Edition: 2005 Week 02, Doc #15102
FREE ACCESS
|
SUBSCRIPTION STATUSYou are not signed-in. If you are a subscriber to this publication, sign-in above to access locked articles. To subscribe or renew go to www.AdvisorStore.com.
|

Get it all -- the most popular ADVISOR tech/business publications are now merged into one subscription, with new articles and a huge reference library packed with expert advice, how-to and downloads. Subscribe now to get it all.![]() 
Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.![]() 
Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!![]()
![]()
![]()
 ![]()

Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!![]()  ![]()
|
|