airborne Posted February 12, 2002 Posted February 12, 2002 In a script, I am calling the EnterFind function. After the user executes the find, I want to continue and perform some other functions. Problem is that the Find is not stoping to allow me to enter the find button, instead it is simply going ahead and continuing with the script. The Puase doesn't work because once I hit the continue, it still goes through to the rest of the scrpit. I simply want it to stop to allow me to enter search criteria and then press the find button to execute it followed by the continuation of the script. A
CaelC Posted February 12, 2002 Posted February 12, 2002 I think you just missed one script step: Enter Find Mode Pause/Resume Script ---Type in your find request--- ---Click on Continue--- Perform Find should be the next script step Then the rest will run through. Hope that helps.
airborne Posted February 12, 2002 Author Posted February 12, 2002 Let me reiterate to see if I have it. I put the user into the Find Mode, I them pause the script. The user will then enter the criteria. Once the user enters the Continue, I will take over again, and I have to initiate the Execute Find command. File Maker will not execute the Find for me. I can then continue the process of doing whatever I need to, after the find has completed. Thanx
CaelC Posted February 12, 2002 Posted February 12, 2002 Correct, the script step is called "Perform Find". Otherwise, depending on what you are doing, it will probably switch to browse mode before performing the find.
RussBaker Posted February 15, 2002 Posted February 15, 2002 Airborne, Yes - BUT make sure that in the Enter Find Mode AND Perform Find steps, the Restore Find Requests box is NOT checked - otherwise you will get the find that was used when the script was created. BTW, you can use the check box for pause in the Enter Find Mode script step, instead of a separate Pause/Resume script step. You will also be able to enter multiple find requests while paused. So the guts of your script is just... Enter Find Mode [Pause] Perform Find [ ] and, as explained in previous posts, you click on Continue to execute the find. Russ Baker Canberra, Australia
RussBaker Posted February 15, 2002 Posted February 15, 2002 Airborne, Yes - BUT make sure that in the Enter Find Mode AND Perform Find steps, the Restore Find Requests box is NOT checked - otherwise you will get the find that was used when the script was created. BTW, you can use the check box for pause in the Enter Find Mode script step, instead of a separate Pause/Resume script step. You will also be able to enter multiple find requests while paused. So the guts of your script is just... Enter Find Mode [Pause] Perform Find [ ] and, as explained in previous posts, you click on Continue to execute the find. Russ Baker Canberra, Australia
Recommended Posts
This topic is 8321 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 accountSign in
Already have an account? Sign in here.
Sign In Now