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

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

Recommended Posts

Posted

Is there a way to surpress the "No Records Found" dialog that appears when a find fails?

If I write a script with a "find" call, but the result of the Find returns no records I would like the script to continue with my own steps. Kind of like:

Enter Find

Auto Enter Criteria From Restore

Perform Find

if(GetFound)=0

Show Custom Dialog (blah, Blah)

Halt Script

Else

Perform The rest of the script.

When I try to write something like this the FMP "No Records Found" window appears, I must make a selection, then my custom dialog appears. I know there must be a better way.

Any help would be appreciated.

Steve

Posted

Thanks!

I hate when I miss the basic stuff...and I usually default every script I write to have "Set Error Capture On" that may be why I have not run into this in a very long time.

Darn I hate it when I show my shorts on here! Thanks for your help.

Steve

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