Jump to content

Script to search just 3 field


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

Recommended Posts

Hi does anyone know how script a search that will search just 3 specific fields of a layout?

All 3 search fields are propagated by the same value list. Value A, Value B, value C they could be in any of three fields "quick find" would find the search criteria and work OK, but my users can't select it via the value list that propagates the data fields.

Any ideas on this this would be most helpful. Thank you..

Link to comment
Share on other sites

One way to do it:

  1. Put a global field on the layout, and assign the value list to it.
  2. Create a script that uses the Perform Quick Find script step, using the global field.
  3. Add a script trigger to the global field that performs the script OnObjectModify.

Of course that will search all fields on the layout that have Quick Find enabled. If you need those fields to have Quick Find on, but don't want them included in this particular search, then the script could be modified to go to a layout that only has the three fields on it to perform the Quick Find; or, it could be scripted using normal Find requests.

  • Like 1
Link to comment
Share on other sites

This topic is 2225 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
 Share

×
×
  • Create New...

Important Information

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