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

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

Recommended Posts

Posted

hello world,

i'm using the built in script "Perform Find[]" to find matching records. When No records are found, it pops-up a window have 3 buttons: Cancel, continue, and modify find.

IF I click on modify find button in the pop-up window, AND click on some other buttons, it doesn't let me do, because the "Perform Find[]" scipt hasn't finish excecuting yet.

Is there a way to go around it?

Thanks

Posted

Unless your other scripts (buttons) have a script step to change the mode, more than likely back to browse, you will still be in find mode.

Either include script steps on your other scripts to ensure that you are in the correct mode - usually browse, or setup your find script to capture all errors and User abort [off] and don't allow exiting the script without resetting back to browse mode.

Posted

There is always a chance of finding zero records. Either there are no matching records or search criteria was enter incorrectly. What I normally do in find script is to turn on Error Capture and then add an If set in the script (If [Get(FoundCount) = 0] 'do some action' EndIf) With Error Capture on and this script step you shouldn't next that dialog box when no records are found.

Also wise to set User Abort to off.

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