My.ADVISOR.com Sign-In
Username
Password
Sign Up 
Go to Article
Advanced Search 

Speed Up -- and Simplify -- FileMaker Pro Date and Time Searches

Learn some shortcuts that can have you finding just the right data with few keystrokes.

By Jason Mundok, IT Solutions Consulting project manager and FileMaker developer

UNLOCKED -- This article is provided to subscribers of FILEMAKER PRO BASICS ADVISOR or DATABASED ADVISOR or FILEMAKER PRO BASICS ADVISOR. To subscribe or renew, go to Advisor Store.

Whether your solution tracks students, invoices, meetings, or schedules, at some point you or your co-workers will need to find records that fall within a date or time range. You may want to know how many students were enrolled in your school during October. You may want to find out how many 8:00 am meetings were scheduled in your conference room this week. Or you may want to quickly find the total number of invoices you generated during the second quarter.

For years FileMaker Pro has included the range symbol (…) in Find mode, which let users search for date, time, or other ranges. All you had to do was enter Find mode and type three dots between a value that represented the beginning of the range and a value that represented the end of the range in an appropriate field. After clicking on the Find button, all records with values in that field that fell within the range, including the starting and ending values, were returned to a found set. This was easy enough, but if you had to search for date or time ranges hundreds of times a day, even this technique became cumbersome.

One of the most overlooked but powerful features recently added to FileMaker Pro's user toolkit is a set of shortcut options for finding time and date ranges. You can now find ranges of times and dates by entering Find mode, typing as little as a single character in a field, and performing the Find. FileMaker Pro now makes searching for time and date ranges easy and fast. By learning a few simple rules, you'll immediately begin saving time and mouse clicks.

Date searches

Finding records that have values in a date field for a particular year has never been easier. In Find mode, simply enter the four-digit year in the appropriate date field to find all records that have a date value within that year. For example, if you enter Find mode and type "2006" in a date field and perform the find, FileMaker Pro returns all records with a 2006 date in that field.

How does FileMaker Pro know what you're looking for? It automatically adds the * symbol for the day and month when a recognized year value is the only value entered. In the example I just described, FileMaker Pro is actually searching for */*/2006. The * symbol will return any characters in the day and month portion of the date, therefore any date in 2006. Four-digit year values between 0001 and 4000 are recognized as valid.

FileMaker Pro makes similar assumptions when performing a Find for a particular month. By simply entering a single number value between 1 and 12 into a date field in Find mode, FileMaker Pro assumes the value represents a month and returns all records that have dates within that month. For example, if the current year (according to your operating system's clock) is 2008, performing a Find by simply entering a "3" in a date field returns all records that contain a March 2008 date in that field.

FileMaker Pro automatically adds the current year and the * symbol for the day portion of the date. In the example above FileMaker Pro is actually searching for 3/*/2008.

Speed Up -- and Simplify -- Date and Time Searches

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.

    Jason Mundok is a FileMaker consultant and manager of training services at IT Solutions Consulting, Inc. in Philadelphia, PA, an FBA Platinum member. He's a certified FileMaker trainer and FileMaker 8 developer and has a master's degree in Instructional Technology from Philadelphia University. Jason has been developing FileMaker solutions since 2000 and has served as developer and project manager for several projects using an Agile methodology since spring of 2006. He has presented sessions on using Agile methods with FileMaker at DevCon 2007 and at various user groups. http://www.fmagile.com, http://www.itsolutions-inc.com/training

    Printer-friendly
    page layout

    Keyword Tags: FileMaker, FileMaker FileMaker Pro, FileMaker Users

    ADVISORAMA
    This life is yours. Take the power to choose what you want to do and do it well. Take the power to love what you want in life and love it honestly. Take the power to walk in the forest and be a part of nature. Take the power to control your own life. No one else can do it for you. Take the power to make your life happy.
    -- Susan Polis Schutz

    ARTICLE INFO

    FileMaker Pro Basics Advisor

    Web Edition: 2008 Week 09, Doc #19378

    Print Edition: Issue #13, Page 1

    SUBSCRIBER ONLY ARTICLE LOCKED

    New Publication for FileMaker Users

    ADVISOR BASICS
    of FILEMAKER PRO

    Get fast, easy help on using FileMaker Pro database software. Learn the basics, follow the steps, enjoy the results!

    Act now to get the special Charter Subscriber offer.

    Read the fast-track to learning and using FileMaker Pro

    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

    Free E-Newsletters

    Keep up! Hot News, How-To, Tips & Tricks, Expert Advice, and more. Click to request your's free.

    AdvisorUpdate.info

    Need Know-How Now?

    What direction are you going with your business? Advisor Guides are packed with the answers you need to work smarter. Can you afford to fall behind?

    AdvisorStore.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.
    munda002 posted 02/25/2008 modified 05/12/2008 03:44:06 AM ztfmfu/ztfmfu
    domino-144.advisor.com my.advisor.com 05/16/2008 12:12:33 PM