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.

making a university database

Featured Replies

Hi everyone!

I'm making a database for a small university in which I work in . It seems really simple to make with FM until I think about the courses and their prerequisites . I 'm not sure how to make this database having in mind this task , the rest shouldn't be a problem .

Looking around the web I found a database model with exactly what I need:

Bqe0a.png

According to this I see that prerequisite is related to itself, how do I get this to work in filemaker pro? How can I make a course available only if the prerequisite has been coursed before?

30 minutes ago, muskee said:

I see that prerequisite is related to itself

I believe it's actually Course that's related to itself, through Prerequisite serving as a join table. Implementing this in Filemaker, you could probably simplify it by making Prerequisites a checkbox field in the Courses table.

 

30 minutes ago, muskee said:

How can I make a course available only if the prerequisite has been coursed before?

That depends on where and how you want to make a course "available". In general, you would use the FilterValues() function to compare a list of prerequisites with the list of courses the student has already taken (and passed!).

 

Edited by comment

  • Author
1 hour ago, comment said:

I believe it's actually Course that's related to itself, through Prerequisite serving as a join table. Implementing this in Filemaker, you could probably simplify it by making Prerequisites a checkbox field in the Courses table.

 

That depends on where and how you want to make a course "available". In general, you would use the FilterValues() function to compare a list of prerequisites with the list of courses the student has already taken (and passed!).

 

thanks for your reply!
Do you dispose of any example using the FilterValues() function? I've never had to use it before >_<

Consider:

Let ( [ 
required = List ( "002" ; "003" ; "004" ) ;
passed = List ( "001" ; "002" ; "003" ; "004"  ; "005" ) 
] ;
ValueCount ( FilterValues ( required ; passed ) ) = ValueCount ( required )
)

returns 1 (true).

Let ( [ 
required = List ( "002" ; "003" ; "004" ) ;
passed = List ( "001" ; "003" ; "004" ; "005" ) 
] ;
ValueCount ( FilterValues ( required ; passed ) ) = ValueCount ( required )
)

returns 0 (false).

 

  • Author

sooo, that should be the hide object when condition?

6 hours ago, muskee said:

sooo, that should be the hide object when condition?

That depends on your workflow. I would use it first and foremost to validate an Enrollment record - but you can certainly use it for your user interface too.

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.