July 10, 200817 yr 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?
July 10, 200817 yr 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"
July 10, 200817 yr Author 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.
Create an account or sign in to comment