My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
Go to Article
Advanced Search 

ADVISOR ANSWERS

Uncover Reasons for Strange Layouts After FileMaker Pro Upgrades

Discover the reasons for some odd layouts after an upgrade.

By Lee Lukehart, Soliant Consulting director of training


Q: Our school has been using FileMaker Pro since version 5.5 and we still use some of the files created back then, but converted to run on FileMaker Pro 8. Recently our school upgraded from FileMaker Pro 8 to version 9. This month we replaced some of our old Mac workstations with new iMacs. On these machines the layouts in our student information database (shared via FileMaker Server 8) now look different. The fonts have changed, and on some screens the fields are even in different places! In one case, a report that worked fine now prints sideways! We've been running this database for years without any problems. Our IT staff swears the computers aren't causing this problem, and the person who set up this database retired and moved to Arizona. Is this a FileMaker virus? Are our new computers haunted or something? Do you have any ideas about what is causing this problem?

Figure 1: Get (flag) -- The Get function responds to more than 80 different options that return information specific to the computer and FileMaker Pro file. To see this list, use the "View: Get functions" drop-down in the specify calculation dialog.

A: I can see how this problem could be a head-scratcher. Fortunately, there is no such beast as a FileMaker Pro virus so you're safe there. And although I'm frequently called upon to exorcise bad behavior from databases, I'm fairly certain your situation doesn't involve mischievous ghosts.


My first thought was that some of the features new in FileMaker Pro 9 were at play. Two in particular -- layout object auto-resize and conditional formatting -- could produce most of the behavior you describe. However, you state that these anomalies manifest only on your newer Macs and not on the existing Macs that were also upgraded to FileMaker Pro 9. And it seems no major development has been done on your solution since FileMaker Pro 9 debuted in July 2007.

When contemplating conundrums such as yours, I often call upon the wisdom of Sherlock Holmes. One of his famous detective maxims is that "after eliminating the impossible, whatever remains -- however improbable -- must be the truth." Applying this approach to your circumstances, I realize that you're describing conditions (fields in different places?) that would be true only if you were looking at different layouts. Although improbable, I must conclude that the buttons and scripts in your database that navigate to layouts are now taking you to different layouts when viewed on your newer Macs. Now the question becomes: How is this happening?

There's a function in FileMaker Pro that can obtain certain environmental information from and about your computer and database file. The Get function can retrieve the current date or time, size of the display, operating system platform, version of FileMaker Pro, account name of the current user, position and size of the active window, and so forth. To see what information is available, go to the specify calculation dialog and select "View: view all functions by type" or "View: Get functions" (figure 1). You can use these functions in calculations and scripts to control actions -- such as layout navigation.

You may have noticed there are display differences between the two main PC operating systems (also called platforms), Windows and Mac. They come with different fonts, and even when they display the same font -- 11 pt. Verdana, for example -- the text in any document on the Windows machine will be rendered slightly larger. For some font faces the size variance is more pronounced. When designing FileMaker Pro layouts on the Mac that might be used on both platforms, it's a good idea to make the fields slightly larger to compensate for the display differences. Naturally, it's best to then view the layout on both platforms to prevent surprises.

Find the Ghost in the Machine

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.

    Lee Lukehart is director of training for Soliant Consulting, an FBA Platinum Member. Lee is a FileMaker authorized trainer, Developer Conference speaker, and FileMaker 7/8/9 Certified Developer -- and was juggling data even before he caught the FileMaker bug in 1986.

    Printer-friendly
    page layout

    Keyword Tags: FileMaker, FileMaker FileMaker Pro, FileMaker Users

    ADVISORAMA
    There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling investment of fact.
    -- Mark Twain (1835-1910)

    ARTICLE INFO

    Advisor Basics of FileMaker Pro

    Web Edition: 2008 Week 17, Doc #19429

    Print Edition: Issue #14, Page 7

    FREE ACCESS FREE ACCESS

    SUBSCRIPTION STATUS
    You 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.

    Subscribe to DATABASED.ADVISOR.com

    Get it all -- every current and past ADVISOR tech/business publication, now all-in-one subscription, with new articles and a huge reference library packed with expert advice, how-to and downloads. Subscribe now to get it all.

    DataBased.Advisor.com

    Subscribe to FileMaker Advisor Magazine

    Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

    FileMaker.Advisor.com

    Subscribe to Advisor Basics of FileMaker Pro

    Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

    FileMaker.AdvisorBasics.com

    Showcase Your Smarts

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

    AdvisorTips.com

    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
    lukel003-02 posted 04/21/2008 modified 01/09/2009 03:41:55 AM ztfmfu/ztfmfu
    domino-144.advisor.com my.advisor.com 01/09/2009 03:56:59 PM