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

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

Recommended Posts

Posted

I haven't paid much attention to the Quick Find feature until now, so perhaps I am missing something: shouldn't clearing the search text box cancel the find and show all records?

I thought this feature was supposed to resemble OS X Spotlight - well, that's how Spotlight works. But in Filemaker clearing the box seems to be an absolute non-event - so you cannot even use it to trigger a script.

Posted

Yes, and you can't even capture the keystrokes either. Quickfind needs a little more refinement.

  • 6 months later...
Posted

Not so fast:

http://www.seedcode.com/pmwiki/pmwiki.php?n=SearchResults.QuickFindIn11

Posted

Yes, and you can't even capture the keystrokes either. Quickfind needs a little more refinement.

With a "roll your own" QuickFind field you can capture keystrokes. I don't know about the default in th tool bar. I capture Return to disallow it . . . I force the user to use Enter.

RW

Posted

Hey, Tom: what exactly am I looking for there?

The article explains how to run your own find script from the Quick Find field. The technique uses custom menus rather than a script trigger.

Posted

I guess I am still missing your point. I have no issue with the built-in find action. My complaint is that clearing the Quick Find field should result in Show All Records. I don't see how this can be solved using custom menus.

Posted

If you clear the field and hit Enter, you can run your own script to show all records.

Posted

Thanks for your patience, I stand corrected. I thought I had successfully done this in the past, but I tried it again and see now that it doesn't work, Quick Find is never invoked if the QF box is empty.

The best I could come up with is to script something like:

Set Variable( $find ; Get ( QuickFindText ) )

If( $find = "=" or $find = "*" or $find = "?" )

// show all, do something, etc.

and train users to use one of those options.

And for anyone interested,

$find = " " // (space)

does not work.

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