Skip 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.

Performing Find using an exact field content match with a variable through a scripted search

Featured Replies

I am trying to perform a find using an exact field content match with a variable through a scripted search. I have tried two different ways to perform a search to show appropriate records and I'm not having any luck getting it to run correctly.

First way:

Set Variable [$ADName; Value:Get(AccountName)]

Freeze Window

Enter Find Mode []

Set Field [Table::User_ADName; $ADName]

Perform Find []

## This way doesn't work because if I have users with nearly the same ADName, the search finds records regarding both of those accounts instead of just the one I was looking for. Example: I do a search for JoniS, but I get records for JoniS, JoniS1, JoniSmith, JoniSanford, etc. And I can't figure out how to insert the double equal sign to perform a field content match search this way.

Second way:

Set Variable [$ADName; Value:Get(AccountName)]

Freeze Window

Enter Find Mode [Restore]

## I specified the Find Request in the

## "Enter Find Mode" line above -

## Table::User_ADName:[==$ADName]

Perform Find []

## This way doesn't work because the find request searches for the text "==$ADName" instead of using the variable value.

There has to be a way to do an exact field content match using a variable through a scripted search. I just can't figure it out on my own today.

Try this...

Enter Find Mode

Set Field [Table::User_ADName; "==" & $ADName]

Perform Find

That should do it!

  • Author

That should do it!

And it did!

Thank you very much!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.