Jump to content
Sign in to follow this  
airborne

Actions after a Find

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.