Omit Records

Version 2

     

    Script

     

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

    Description

    The Omit function has been updated for FileMaker Pro 7. Previously, the fastest way to figure out how many records could be omitted from a found set was to type in a number larger than the found set. Then click the omit button. The FileMaker Pro error dialog box would then return an error with the maximum number of records that could be omitted. You can now provide the Omit function with a dynamic calculation for the maximum number of records that can be omitted from the found set. The calculation below will subtract the current position in the found set from the total number of records in the found set. Then add one to make sure the calculation also includes the current record.

     


    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.