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.

8.0v2 Changes to Searching

Featured Replies

I've looked at a similar thread (172736) pointing out the change in FileMaker 8.0v2 where searches are now performed from the local cache, rather than from the host.

APPLICABLE TO:

FileMaker Pro 8.0v2, FileMaker Pro 8.0v2 Advanced

Mac OS X

ISSUE:

Performing finds on a hosted file that contains unstored calculation fields can result in a larger local temp file.

EXPLANATION:

In FileMaker Pro 7 and FileMaker Pro 8.0v1, all finds on unstored calculation fields were sent to the host.

This was an issue with certain unstored calculations such as calculations that use a Get(StatusAreaState) or something else that must be done locally. Unfortunately, in some more complex cases, the calculation could not run correctly on the host, and the field became unsearchable.

To resolve this, In FileMaker Pro 8.0v2 all unstored finds are now performed locally, which will result in more records being cached in the local temp file.

This applies to FileMaker Pro 8.0v2 with either FileMaker Server 7 or FileMaker Server 8.

The time it now takes to perform the search in the unstored fields is noticeably slower.

The field being searched is a calculation (therefore unstored) of a number of fields that make up the Company + Clients records.

Searching this calculation field allows users to enter a text string and search any of the 20 related fields.

I've attached a small sample to show how my file is constructed.

I want to be able to index this search field, to speed up the searches, but at the same time ensure the users are getting up to date data . . .

Thanks in advance

search.zip

It shouldn't be too hard to make your search on indexable fields alone (see also this thread).

In broad terms, do your search in the Companies table first (using only local fields).

If you find anything, GTRR in Clients (Show related only, Match found set), and do a search there extending the found set.

If you haven't found anything in Companies, move to Clients and do a search there.

  • Author

thanks for the tip . . .

I think I've used the wrong method to by-pass the dialog where there are no records in the first find, as now if there are no records from either search I am presented with the same records I was browsing (before the search) and no feedback that the search does not find any records.

Is there a better way to skip the 'no records' found dialog after the first find ?

search2.zip

I didn't check your script thoroughly (I did notice you're checking for total records instead of found).

I am attaching a template that does more or less what I suggested. It still needs some work, though. You might consider doing all this in another window, where you can present the found records in a list, while still keeping the original found sets - in case nothing is found.

search.fp7.zip

  • Author

Thanks again for your help Comment.

I've looked at what you have built, and can see what you are suggesting, and the changes I would need to make to the user experience, to get a similar result before the 8.0v2 update.

To keep the same 'simple' user experience, I have scripted the copying and updating of the Company records to new fields in the related Client records, to allow for the searches to be in indexed fields.

It's a pity FileMaker would make such a change to un-indexed searching, it seems such a 'band aid' solution . . .

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.