Jump to content
Sign in to follow this  
Craig Sanders

Using index in a find request

Recommended Posts

I'm working on a solution in which it is convenient to use buttons to perform a variety of finds where the index for a field serves as a menu (i.e., as a list to choose from, not as part of the menu bar). As it stands, the relevant bit of code in each script is "Enter find mode[]", "Paste from index[select, "(the approporiate field)"]", "Perform find[]". This works OK as long as the user doesn't click the Cancel button when the "View index" window opens up (this leaves him or her hanging in find mode in a layout that I don't intend users to see at all) or check/uncheck the "Show individual words" box. Is there any way to disable those features? Or better yet, to take advantage of field indexes in menus without using the "Paste from index" script step at all? I can imagine a work-around in which I would have to generate my own lists and forget the indexes, but that seems awfully cumbersome and in fact the indexes work very well for this particular purpose, apart from the problems described above.

Thanks,

Craig

Share this post


Link to post
Share on other sites

Have you tried entering the allow user abort script step at the beginning of your script?

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.