Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6204 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a database that tracks CEUs for teachers and have a question regarding how to script something.

I have a Course table and a Student table. To bring them together I created a registration table for the purposes of placing students in their registered courses. I want to be able to check that a student is not registered for the same course more than once at the time the student is registered.

For example, I have already been registered for Course X but a colleague of mine doesn't know that and tries to enroll me in the same course. What check can be run so that my colleague is notified of the duplication?

Thanks!!

Posted (edited)

Validate a calc field to be unique:

IDStudent & "|" & IDCourse & "|" & IDTerm

You need the Term (or semester or...) in there to be sure to allow someone to retake a course.

Edited by Guest

This topic is 6204 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.