Forum Discussion
DonLarson
6 years agoQrew Elite
Divya,
I am assuming that you have an architecture that looks like this:
How many Courses are going to be in the DB?
If you are dealing with a small number that can be easily managed by a single person, you can build Formula Check Box fields in the Students table that will determine if the requirements for a specific course have been met. This is a manual process and requires data base maintenance in the Students table every time a Course has its Prerequisites changed.
Further assume in the Course Table that
Record ID# 5 is Course Number 300 and that it has two prerequisites of the Courses with Record ID #1 and Record ID#2
In the Students Table create Summary Fields from the Registrations Table using the [Related Course]
# of Courses RID 1 your filter is Related Course =1
# of Courses RID 2 your filter is Related Course =2
In the Students Table create the field [Course Req 300 FC}
if ( [# of Courses RID 1] >0 and [# of Courses RID 2] >0, true, false)
Create a Formula User field in the Course table called Related Student User and set the value to User()
Add another relationship to your app between the Course and Students table. Use the Related Student User field you just created as the reference.
Add the formula check box from Students to the Course Table
Create a new Formula Checkbox field in the Course Table called Student Qualified FC. This will become a long If Statement but it begins like this
If ( [Record ID#]=5 and [Course Req 300 FC]= true, true, false)
Now your Course record knows if this Student is allowed to Register for it.
Expand your current Record Picker report in the Trainings table to also include
[Student Qualified FC]=true
This will work if you are managing the Courses for a corporate department with a relatively small number of Courses and lots of Trainings.
If you are building this for a University with 10,000 courses, then this is a terrible idea and you should build a custom interface that uses traditional development tools to query the students past registrations, the current Course prerequisites and builds the Registration options for that student.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
I am assuming that you have an architecture that looks like this:
How many Courses are going to be in the DB?
If you are dealing with a small number that can be easily managed by a single person, you can build Formula Check Box fields in the Students table that will determine if the requirements for a specific course have been met. This is a manual process and requires data base maintenance in the Students table every time a Course has its Prerequisites changed.
Further assume in the Course Table that
Record ID# 5 is Course Number 300 and that it has two prerequisites of the Courses with Record ID #1 and Record ID#2
In the Students Table create Summary Fields from the Registrations Table using the [Related Course]
# of Courses RID 1 your filter is Related Course =1
# of Courses RID 2 your filter is Related Course =2
In the Students Table create the field [Course Req 300 FC}
if ( [# of Courses RID 1] >0 and [# of Courses RID 2] >0, true, false)
Create a Formula User field in the Course table called Related Student User and set the value to User()
Add another relationship to your app between the Course and Students table. Use the Related Student User field you just created as the reference.
Add the formula check box from Students to the Course Table
Create a new Formula Checkbox field in the Course Table called Student Qualified FC. This will become a long If Statement but it begins like this
If ( [Record ID#]=5 and [Course Req 300 FC]= true, true, false)
Now your Course record knows if this Student is allowed to Register for it.
Expand your current Record Picker report in the Trainings table to also include
[Student Qualified FC]=true
This will work if you are managing the Courses for a corporate department with a relatively small number of Courses and lots of Trainings.
If you are building this for a University with 10,000 courses, then this is a terrible idea and you should build a custom interface that uses traditional development tools to query the students past registrations, the current Course prerequisites and builds the Registration options for that student.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
Divya__OSSE-Con
6 years agoQrew Member
Thanks Don.
But the issue is there is no separate student user table. This application is open to "Everyone on the internet" and any user can register with the link.
------------------------------
Divya (OSSE-Contractor) Pogaku
------------------------------
But the issue is there is no separate student user table. This application is open to "Everyone on the internet" and any user can register with the link.
------------------------------
Divya (OSSE-Contractor) Pogaku
------------------------------