Limits |
11/12/2006 8:22:05 PM |
ASPRunnerPro General questions | |
L
lililpz@hotmail.com author
I am working on an online class registration prg. and I need to be able to limit the number of students registered per class to 16 students. How can I do this? any ideas? |
|
D
|
dlangham 11/13/2006 |
You could have a table named "class_names" with fields called "class_id", "class_name" and "class_amount" which the "class_amount" field will hold the total amount of students allowed, in this case 16. Function BeforeAdd(dict)
Function BeforeDelete(where)
"class_amount>=1"
|