Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Constrain Found Set with Related Record Find request question....

Featured Replies

Hi All -

I have a question....

Does anyone know for sure if there is a performance benefit to performing a find on local fields and then using the Constrain request to find data in a related field?

When it does the find on the related field in the Constrain request, does it only search through the found set of records from the first request or does it still need to search through all the records in the table?

Although I don't have evidence of improved speed in FM8 for constraining a Find for the related/unstored calc criteria, Fenton seems to indicate it here:

http://fmforums.com/forum/showpost.php?post/216612/

In FM7 and later, Finds on indexed related fields are not much slower than Finds on indexed fields in the same table. However, Finds on unstored calcs can be a problem whether they are local or not, depending on what's involved in the calc, whether you're hosting with Server or not, and the particular versions of FileMaker Pro client and Server.

If your client software is updated to 8v3 or later and you're using Server 8v3 or later, then there shouldn't be too many issues. In most cases, Server takes the criteria and performs the Find on the Server, then sends the results to the client. The one case that could still be a problem is when the relationship is based on an unstored calc or the Find is on an unstored calc, where the calc involved uses certain Get() functions that can only be evaluated on the client side. In this case the information about each record and their related records are sent to the client to see if they fit with the specified criteria.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.