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.

Generating an "OR" Find Script

Featured Replies

  • Newbies

I'm having a heck of a time getting an "OR" find to work in scriptmaker. Perhaps someone can give me some help. I have four (4) fields of data that I need to search for a date code. Each of the four fields is text data relating to a production date for a given sub-assembly. I want to enter the text string I'm searching for in a field, hit a button that I have on the screen, and have it search the four fields for the text data that I've entered. It is easy to do manually by entering the FIND mode, entering the text in the first data field, then using the Requests menu and Add New Request to clear the page so that I can enter the same text data in the second field to be searched, and so on for the remaining 3 fields. I want to automate that with a button. Could someone give me the script format to do that? I've tried a lot of variations and can't get it to work.

Thanks in advance.

  • Newbies

Well, just off the top of my head I would say create a global text field in which you enter the data you wish to find, say gFindData. Then create a script that runs when they click on a Find button you've put on the layout:

Enter Find mode

Set Field ["Field1", "gFindData"]

New Record/Request

Set Field ["Field2", "gFindData"]

New Record/Request

Set Field ["Field3", "gFindData"]

New Record/Request

Set Field ["Field4", "gFindData"]

Perform Find

Goto Layout ["Results"]

Something like that should get you what your trying to accomplish. Hope this helps!

Eric

  • Author
  • Newbies

Eric,

Thanks for your assistance. When I saw what you proposed I corrected what I had accordingly and it works just perfectly. I've also learned what I was doing wrong. I knew it had to be possible but I couldn't seem to get it. Thanks so much for your help.

Bob (aka - SteamCarriage)

  • Newbies

Bob,

No problem. Glad I could help!

Eric

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.