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

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

Recommended Posts

  • Newbies
Posted

I am very new to filemaker - so please excuse the simple question.

All I want to do (and I don't want to use the Find View) is to have an empty text field that a user can type in some text, and hit a search button on the page - which then searches accross my single tabled database in a field called items and goes to a list view of these items.

I just can't seem to work it out. Thanks for your help.

Regards,

-FJ

Posted

Welcome to the forums.

Create a global text field and use this as the empty field for the user to enter search terms.

Create a script - on the "Find" button - along the lines of:

Allow user abort off

Set error capture on

If IsEmpty (global field)

Exit script

End if

Enter find mode

Set field "items" with contents of the global field

Perform find

If found count = 0

Show message "None found"

End if

Go to list layout

Posted

To clarify, the second if statement would be:

If [ get(foundCount) = 0]

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