Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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


This topic is 6664 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

This topic is 6664 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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