Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

When you call this in a loop


for (i in 1..num){

a = fmpro.evaluate("GetNthRecord($fm_field; $i)")

list = list + (list ? ',' : '') + a

}

It gets exponentially slower

It has just been tested on data sets up to 175,000 today

Is anyone at 360 able to give insight as to why??

Posted

Can you reproduce the same issue in FileMaker using GetNthRecord without using ScriptMaster? Call that function in a script loop and increase the size to determine if you experience the same issue independent of the plugin.

Posted

GetNthRecord is really slow for large datasets even in FileMaker Pro.

If you create the same loop in FileMaker Pro it will become slower as well as it approaches the end of the record set... For larger datasets it is faster to loop over the records...

Posted

Andries

We are trying to extend some of Kevin Franks methods to do with creating an ID list for the 'IN' part of an SQL query without doing recursion which breaks anyway...

Am just running proper tests now and I will do some over the weekend to compare it from Filemaker natively

This topic is 4794 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.