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.

Find this...

Featured Replies

Is there a way to make a field perform a specific search? Say I want to find all records with "Colt" in them, I want to type "Colt" in the single field and have it search all records for that word. Any advice?

See here.

http://www.fmforums.com/forum/showtopic.php?tid/195128

  • Author

Well, that is the idea. I created the script step, and the search field as well as the "cAllDescriptions" and modified the fields to search, however, it does work in the solution provided, but not in mine. It is duplicated except for the search criteria. I search for a name, and it doesn't find it. In fact, it finds nothing...Back to the drawing board...

What happens if you do a manual find in the calc field?

  • Author

If I go into find mode, type in the name I am looking for, then hit find, it doesn't find anything either.

  • Author

Unbelievably I found the issue. In the field used for the criteria where you list all fields to be searched, I was using "field name & field name2 & so on..." I added "& ¶ &" (notice the middle thingy) and that fixed it. Each field listed needed to be separated completely. And now it works great.. Thanks for showing me the post. Again I learn..

  • Author

Now if I can figure out a way to have a message box popup if nothing is found, then return to showing all records when clicking "OK" rather than the standard FM modify box it will be perfected...B)

See the modified file I posted today on an earlier thread. It has steps in there that will do exactly what you are looking for.

http://fmforums.com/forum/showpost.php?post/291721/

  • Author

I must be missing something and banging my head is not working, just cracking the wall...If someone would take a look and see why my search is not working, I would appreciate it. It is a custom app for a friend. The input field is gSearchString.

Aquisitions.zip

Now if I can figure out a way to have a message box popup if nothing is found, then return to showing all records when clicking "OK" rather than the standard FM modify box it will be perfected...B)

Set Error Capture [On]

Enter Find Mode []

Set Field [ Aquisitions::cAllDescriptions; Aquisitions::gSearchString]

Perform Find []

If [ NOT Get ( FoundCount ) ]

Show Custom Dialog [ "No Records"; "No Records Found" ]

Show All Records

End If

BTW, your gSearchString field in your file needs to be changed to a global field and in your script the set field does not have to be from Aquisitions2::cAllDescriptions.

  • Author

Thanks amigo, exactly, save one thing...the search does not work still... It all looks right. have a look.

Aquisitions.zip

Set Error Capture [On]

Enter Find Mode []

Set Field [ [color:red]Aquisitions::cAllDescriptions; Aquisitions::gSearchString]

Perform Find [color:red][]

If [ NOT Get ( FoundCount ) ]

Show Custom Dialog [ "No Records"; "No Records Found" ]

Show All Records

End If

  • Author

Brain farts... I got it now. Thanks...

Edited by Guest

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.