• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

FMP 10 Suppress Find results dialog window

Is there a way to disable the popup window that displays when I run a script that includes a Find? (It tells me there are no results and asks if I want to Modify Find, Cancel, or Continue.)  I expect no results and only want to see the popup dialog when records are found. it effectively pauses the script unnecessarily before a subsequent step refilters and runs the final Find step.
0
MarkJulie
Asked:
MarkJulie
  • 2
3 Solutions
 
webwyzsystemsCommented:
Turn error capture on prior to the find request.
0
 
webwyzsystemsCommented:
I double checked the script step, it's in the CONTROL section of script steps:
Set Error Capture [on]
You can use:
Get(LastError) in a calculation to determine the outcome of your find.
(a 400 is not found etc. List of error codes is available in FM help).
0
 
lesouefCommented:
From memory, I think it is 401 = no record found.
0
 
MarkJulieAuthor Commented:
Thanks. It is 401, and once I was able to reprogram the scripts, it worked flawlesslly.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now