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.

Less/greater than in Find mode

Featured Replies

Hey there,

I wonder if there is a way to make a Search Layout a little easier for my users.

In my database you can search for different newspapers. Each newspaper record has a start year. When in Find Mode, there is the start_year field, and the user can key in let’s say <=1990 to find all the records that started before or in 1990.

Well, every now and then it happens that the users mix up the < and > signs. So, I’d like to offer them a field where they simply enter four digits for the year and the explanation text next to it says something like „Searches for all publications that start with the entered year or earlier.“

Your help is highly appreciated!

Thank you,

polarpro

You can have a button with :less: on it. Tooltip could explain what it means. Script attached would run your find and, when attached to your button, have script parameter with ":less:" .

Then script would be:

Set Error Capture [ On ]

Enter Find Mode [ pause ]

Modify Last Find

Set Field [ theDate ; Get ( ScriptParameter ) & theDate ]

Perform Find

If [ not Get ( FoundCount ) ]

... do whatever if no records

Else

... do whatever if records

End If

This script has not been tested. You can then have buttons with ==, :great: etc.

Also eliminates problem of User mixing up browse and find mode or entering something incorrectly during the paused find. Much nicer, Michael, no surprise there! :laugh2:

  • Author

Hi LaRetta, hi Michael:

Thanks a lot for your fast help! LaRetta's button will find its way on a layout regarding a similar problem, and the FindBeforeAfter.fp7 is really an elegant solution for the described problem. Great!

Regards!

:) Mike

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.