One possibility is to enforce the limit by choosing your primary key for the
enrollment table. If all classes have the same enrollment limit, you could
choose your primary key as the combination of classID,
registrationSequenceNumber. Put a validation rule on
registrationSequenceNumber for something like Between 1 and 29.
But if each class has a different enrollment limit, then you would have to
add the enrollmentLimit as an attribute in the Class table and enforce the
constraint with VBA code in your data entry form.
"KJM96" <(E-Mail Removed)> wrote in message
news:A34CB337-BABF-4020-B861-(E-Mail Removed)...
> Creating an enrollment database. Can I set it up so that a message will
> indicate class is filled when it reaches a set number of enrollments?
|