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.

Finding Records using an Unindexed Field Stopped Working. Why? Help!

Featured Replies

I have a script that finds all the Invoices that are billed and have an amount > 0, and prints a list of them.

Enter Find Mode

Set Field (Invoice:Status = "Billed")

Set Field (Invoice:Balance = "> 0")

Perform Find

It's been working since the beginning. And somehow it just stopped working. The Status is indexed but the Balance is not (Recalculate when needed). Could it be that we have so much records and it failed (4000+ invoices)? Each invoice is linked to a transrecord that consist of every line item on the invoice. So if 4,000 invoice averaged of 4 lines per invoice that's 16,000 records that it has to re-calculate everytime. Could it be the problem?

I didn't change any of the script, I just stopped working, there are no records found when I perform the script.

Please Help. I don't want to go back and change the fields to Indexed fields, because I don't know what will be the ramification after I do it. What could be the solution to this?

Try doing a manual find in the Status field for "Billed". If you are getting unexpected results. Turn off indexing on that status field, save the changes to the field, and then go back in and reindex the field. See if that solves your issue.

  • Author

Yes, I tried doing a manual search on the Status field. The Status field search is ok. The one I'm having problem is the Balance field. If I search for anything, whether it be "> 0" or "=0", it doesn't work.

I tried to turn on indexing on the Balance field but FileMaker won't let me because there are other fields on another table that is linked to this field that are not indexed as well (recalculate when needed).

  • Author

You know what, it's working now. And I didn't change anything. It could be that there's so much traffic going on between the server and the clients that FileMaker refuses to calculate. There were no scheduled tasks running, even the backup. So it's weird that it did that. Anyway, it working now.

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.