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.

Maximum Recursions Limit

Featured Replies

  • Author

I am discovering that a Custom Function will not perform more than 10,000 recursions. Beyond that I get a question mark in the calc field.

I can't find any documentation for this limitation. Can anyone confirm/disprove this?

I am discovering that a Custom Function will not perform more than 10,000 recursions. Beyond that I get a question mark in the calc field.

I can't find any documentation for this limitation. Can anyone confirm/disprove this?

  • Author

I am discovering that a Custom Function will not perform more than 10,000 recursions. Beyond that I get a question mark in the calc field.

I can't find any documentation for this limitation. Can anyone confirm/disprove this?

From the file "Recursive" by Andrew Parsons (excelisys.com):

From the file "Recursive" by Andrew Parsons (excelisys.com):

From the file "Recursive" by Andrew Parsons (excelisys.com):

I can confirm that this is the limit.

Starting with a parameter of 1.

Case( num = 10000; "end"; num & " - " & test(num + 1) )

works, but

Case( num = 10001; "end"; num & " - " & test(num + 1) )

returns a question mark.

I can confirm that this is the limit.

Starting with a parameter of 1.

Case( num = 10000; "end"; num & " - " & test(num + 1) )

works, but

Case( num = 10001; "end"; num & " - " & test(num + 1) )

returns a question mark.

I can confirm that this is the limit.

Starting with a parameter of 1.

Case( num = 10000; "end"; num & " - " & test(num + 1) )

works, but

Case( num = 10001; "end"; num & " - " & test(num + 1) )

returns a question mark.

  • Author

Thanks for confirming, Fenton and JT.

A recursive calculation must provide a mechanism to end the loop, or it will run for 10,000 iterations

That's not very well put, is it? JT's calc clearly does provide such a mechanism (as does mine). It seems that the correct statement would be:

A recursive calculation will run for 10,000 iterations, or until FileMaker runs out of memory, or when a condition to end the loop has been met - whichever of the three comes first.

  • Author

Thanks for confirming, Fenton and JT.

A recursive calculation must provide a mechanism to end the loop, or it will run for 10,000 iterations

That's not very well put, is it? JT's calc clearly does provide such a mechanism (as does mine). It seems that the correct statement would be:

A recursive calculation will run for 10,000 iterations, or until FileMaker runs out of memory, or when a condition to end the loop has been met - whichever of the three comes first.

  • Author

Thanks for confirming, Fenton and JT.

A recursive calculation must provide a mechanism to end the loop, or it will run for 10,000 iterations

That's not very well put, is it? JT's calc clearly does provide such a mechanism (as does mine). It seems that the correct statement would be:

A recursive calculation will run for 10,000 iterations, or until FileMaker runs out of memory, or when a condition to end the loop has been met - whichever of the three comes first.

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.