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.

adding a operator to an script for a criteria find

Featured Replies

I am writing in FM4.0v1 a continuity welders log. Each welder may be qualify in five different processes. Each file will have five qualifying dates and five requalifying dates. I have a layout for enter the criteria day and a find script attached to a button. The criteria date field is a global field and I have use the the set field to enter this date in the other five requalifying fields. The problems is that I cannot figure out how to enter an operator into the criteria field in a script. Cannot enter it manual neither with the script running. Also I have made a list layout to view the records found. This view will show all of the dates. I want to see only the dates that match the criteria. Any help will be greatly appreciated.

Lionel

In the 'set field' script step, insert your operator (between quotes) and an ampersand before the global field. ie:

">=" & Global Date

Once the script performs the find, only those records matching the criteria will be displayed.

When performing a Find with a script, Set Field cannot be used to put operators into a date field. Instead, with FileMaker 4, you would use:

Paste Result (Date, " > " & DateToText(Date))

FileMaker 5 has changed this to Insert Calculated Result ( ).

  • Author

thanks for the information fellows

Create an account or sign in to comment

Important Information

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

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.