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.

Perform Find Criteria?

Featured Replies

I am trying to create a script that will "perform a find" based on the value of a field in the current record. The find criteria will be based on the whatever record is currently "on focus" pardon my access lingo.

How do I do that? What do I type in the criteria box?

SEt Variable [ $value; YourField ]

Enter Find Mode []

Set Field [YourField; $value ]

Perform Find []

  • Author

thanks for the info just a couple of questions. Do I copy that with no changes (except the field name) right into my script or the criteria box?

If into the script then do i leave the criteria box empty?

Thanks for the suggested reading.

Edited by Guest

I should mention that this can be done without a script by simply right clicking while the cursor is in the field and choosing FIND MATCHING RECORDS.

You could also extend or constrain the found set in the same manner.

That said, I'm not sure Macs have a right mouse button. The last time I laid hands on a Mac, back in the early 1990's, I think there was only one button.

  • Author

Thanks for the info, the only thing is that this is part of a larger script and there is a need to isolate the current record.

From your description, it sounds like you want to be able to have the user choose a field, then perform a find based on that field only. If that's the case, you may want to use the Get( ActiveFieldContents ) and Get(ActiveFieldName) functions. The script may be set up something like

Set Variable [$variable; Get( ActiveFieldContents )]

Set Variable[$field; Get(ActiveFieldName)]

Enter Find Mode []

Set Error Capture [On]

Set Field[$field; $variable]

Perform Find[]

Setting a variable will always refer to the field in the record currently being viewed.

Let me see if I have this right. The user may be browsing many records and you would like the user to be able to change the found set so that only the current record is showing. If this is correct then try adding these steps at the proper place in your script or by making them into a new script:

Show All Records

Omit Record

Show Omitted Only

Edited by Guest

  • Author

Ted:

Brilliant! It worked perfectly! I still want to learn more about the set variable, but I will do it later. :-)

Edited by Guest

  • Author

Would you mind elaborating?

Did you click the link?

  • Author

didn't realize it was a link, thanks for the info very helpful.

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.