Afternoon all!
I've been trying to create a Registration form (e.g. enrolling students into a class), and I just keep running into problems.
So far, I have tables "Student" and "Class", and a third junction table called "Registration" with a composite primary key. I created a form based off of my "Registration" table, and I want to be able to select the Student ID and Class Code from a drop-down list, then input data for other fields pertaining to payment.
My problem is that the Student ID's datatype is AutoNumber, so it won't let me edit/manually type in the ID that I want into the form. I tried making the combo box unbound, but then it just gives me the error message "Index or Primary Key Cannot Contain a Null Value." I WANT to be able to enroll a specific student through this registration form, but how do I get past this AutoNumber problem?
I'd appreciate any help at all! And kudos to anyone who reads and comprehends my drivel.
I've been trying to create a Registration form (e.g. enrolling students into a class), and I just keep running into problems.
So far, I have tables "Student" and "Class", and a third junction table called "Registration" with a composite primary key. I created a form based off of my "Registration" table, and I want to be able to select the Student ID and Class Code from a drop-down list, then input data for other fields pertaining to payment.
My problem is that the Student ID's datatype is AutoNumber, so it won't let me edit/manually type in the ID that I want into the form. I tried making the combo box unbound, but then it just gives me the error message "Index or Primary Key Cannot Contain a Null Value." I WANT to be able to enroll a specific student through this registration form, but how do I get past this AutoNumber problem?
I'd appreciate any help at all! And kudos to anyone who reads and comprehends my drivel.