Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exact searches. First post incomplete

Featured Replies

I have read many of the posting about -LOP and -Op and am trying to use == instead of operators. My problem is I have a search page with 2 fields Item number and part number that I want to search and get an exact match on 1 or the other field. In other words if you search for part number 33 I don't want it returning 33 and 334. If I add the code to make the fields exact and someone searches on one field it only returns records that have the exact match of 1 field and an exact match of nothing in the other field. It seems to do a strict enforcement of the default AND Logical operator. If I add the OR operator it returns anything with an empty field also.

Is there a way to get an exact match of 1 field if both fields are specified to be exact?

Thanks,

In advance.

Wayne

"Is there a way to get an exact match of 1 field if both fields are specified to be exact?"

You might try setting up two form actions and providing two buttons. If your user knows the Part No. they enter that and click that button, if they know the Item No. they enter that and use that button. Of course, you will want to use the exact search criteria in each form action.

SIMPLIFY ...

Keith M. Davie

  • Author

Thats a good idea. Use 2 forms actions on the same page.

Thanks,

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.