July 19, 200322 yr 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.
July 19, 200322 yr 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.
Create an account or sign in to comment