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

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

Recommended Posts

Posted

I'm at a loss as to how to script this: I'm using two separate text fields with first and last names to find names in a database. Exact matches and close matches are no problem. I want to disable the generic "no match" window in Filemaker with a script that takes the user to a new layout when there is no match with any record in the database. I have the script built up through the "Perform Find" function but then I'm stumped. Should I be using a different kind of field other than text to perform this? As of now I'm pasting user-entered text from text boxes into the first and last name fields of the actual database records during a find and looking for a = match.

Posted

Hi Todd,

At the beginning of your script add the 'Set Error Capture (On)" scriptstep to get rid of Filemaker's dialog.

Put:

If Status(Currentfoundcount) = 0

goto layout (YourCustomLayout)

end if

Somewhere at the end of your script.

regards,

Ernst.

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