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.

Show only active records?

Featured Replies

I have a school database file with 12 tables and 1000+ student records. The main table is Students and the other tables include Parents, Classes, Teachers, Enrollments…etc. What is the best way to structure the file relationships so that only the 350 currently enrolled/active students and their related records show when working in the database. I don’t want to have to archive/export the inactive students to another “Archive” file. I’m thinking that I should probably flag each record in the Students table as “active” or “Inactive”, but not sure how the related records from the other tables will show for only the active students. Any advice will be helpful. I’m using FileMaker 9 Advanced on Windows XP.

If you don't want any of the inactive parent or child records to ever show in the found set, then you'll have to disable certain commands (like show all records) disable find mode, so that you can specifically script queries so to control the found set, and create your own record navigation so you can hide the status area.

I wouldn't make separate active/inactive flags; just a single "Active" field that is formatted as a checkbox, with a value list of 1. In your other files, make a field called let's say "One" where the calc is simply 1.

Now you can add the One-to-Active criteria to your relationships as needed.

Reed has some good points too. It depends what you need, how secure it has to be etc.

Create a separate table, called ActiveStudents, and populate it with only those students that are active. The primary key for ActiveStudents is the same as the primary key for Students. You can relate ActiveStudents to Students based on this key and you can even copy/paste your existing layouts based on Students to a new layout based on ActiveStudents.

This method allows you to keep all of the native FMP functionality you are accustomed to and yet still have a reduced set of student records to those for the current academic year.

Once you have this basic structure down you can extend the model to include other temporal data (such as school enrollment and class registration information) as well.

School Administration, including Admissions and Registration, is a particularly complicated domain to model. If this solution is mission-critical to your school (they often end up that way) then you may want to consult a developer that specializes in the field.

(shameless plug: like us )

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.