Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

Newbie here...

I have an application where I give the user a layout with a single field that is formatted to use a drop down list. The user chooses a category from the list and clicks on a button that runs a find script. The matching records are then displayed on another layout in a list.

The problem is that this will also return records that contain the string. I want to only display exact matches. I know that you could add "==" to the beginning of the category name to get an exact match, but then I couldn't utilize the drop down menu.

Is there another way to force a find to only return exact matches? Can this be done in scripting?

Thanks in advance for any help!

Posted

Sure, try this

Enter Find mode [Pause]

//The user enters data from the value list

Set field (TheSearchField, "==" & TheSearchField)

Perform Find

Posted

That's perfect pupiweb, just space it out to make it easier to read:

Enter Find mode [Pause]

//The user enters data from the value list

Set field (TheSearchField, "==" & TheSearchField)

Perform Find

This topic is 8216 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
×
×
  • Create New...

Important Information

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