Search Using Regular Expressions for Dates

Version 2

     

    Script

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 8, 8.5, 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ 1.07 megabytes
    http://www.formulationspro.com

    Description

    FileMaker Pro 8 includes the capability to search date fields using regular expressions. This is a powerful approach to finding records that was previously very difficult for users to understand and for developers to program. Think of regular expressions as wild cards. Just as you search for zero or more text characters with the * star symbol (shift-8), you can also search for all months, dates, and years with the * character.

     


    Code
    See sample file

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.