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.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
Original Message:
Sent: 03-16-2020 13:15
From: Divya (OSSE-Contractor) Pogaku
Subject: Compare values based on Pre-Requisites
Hi,
I need help in figuring out how to validate if the user currently registering for the training has attended the corresponding pre-requisite training.
To elaborate,
Trainings - Registrations (One-to-many)
Courses- Trainings (One-to-many)
Courses- Pre-Requisite Courses(One-to-many)
User will be able to "Register" for a training session, with the "Add Registration", for a specific training.
How can i implement the logic to check whether the user registering for the current training has attended a pre-requisite course training?
------------------------------
Divya P
------------------------------