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

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

Recommended Posts

Posted

I have a database that users use to keep track of contacts. Users Frequently go into Find mode and forget they are in there, then click the New Record button to create a new contact record. I have a script that runs when they click the New Record button that first requests an email address for a new contact record and won't let them continue until they enter it. If they are in find mode and this script starts to run, it won't allow them to save the information they enter because they are still in Find mode. Is there a way to check to see if they are in Find mode and exit out of it before continuing with the script?

Posted

The Get( WindowMode ) function does what you want.

Posted

I have a script that is called as a subscript by any script where the user may be in find mode. It is called "Test for Find Mode (Halt)" It evaluates the Current Mode, and if 'Find' it returns this message: "You are still in 'Find' mode. You need to Perform your find request before using this button"

Posted

Thanks, mikewson! I took your suggestion and added a test to see if the user was in find mode and if they were, displayed a custom dialog telling them to finish their search or cancel it and then click the new record button again. It seemed like the simplest approach to use.

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