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.

Omit Records to show only 2 of 3 types of Records in Found Set

Featured Replies

I am a newbie with scripting. I have 3 types of records. I want to use a script to show all records and then omit two of the three types of records leaving just the one type I have a database for teaching with pass types.

There are 3 pass types General Pass, Nurse Pass, Dress Code Pass. I have a report layout and want to use a script to show all General Passes. To do this, I have to remove the Nurse Pass and Dress Code Pass records from the found set.

I have no problem omitting either Nurse Pass or Dress Code, but I cannot get it to omit both. I even wrote a separate script to omit Nurse pass and tried to use then a Perform Find omit records to omit the Dress Code Pass, but that did not work either.

Here is what I have.

Show All Records

Perform Find [Restore] Action Omit Records Student_Passes:Pass_Type= Dress Code Pass

Perform Find [Restore] Action Omit Records Student_Passes:Pass_Type= Nurse Pass

Go to Layout ["Student Pass List"(Student_Passes)]

Thanks,

Michael

Why not find the type you want in one step. No need to "show all records" first.

  • Author

Vaughn,

Thanks. It helped me realize what the problem really was. For General Passes, there are sub-types such as Hall, Library, Water, etc. So I created a new field called Pass Types - General, Dress Code and Nurse. I then wrote a case statement so that each of the types Water, Library etc would return General to the field and Nurse would return Nurse and Dress Code would return Dress Code.

I was then able to do the find as you suggested. Thanks for helping me re-think the problem and create a solution.

Michael

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.