I have a student database contains the following tables:
Student Table (Id, StudentName, ClassNum, ....)
Action Table (Id, ActionDate, studentID, Status, reason, note)
Status fields possible values are: attended(=1) absent(=2), permitted(=3). I want to build a form has the two unbound fields (Class Number and date) in the top of the form. A subform should contain a grid (list) of all the students of that class number; each row of that grid consists of: Student name (non editable), status (drop-down list for example), reason (text box). The form should show all the class students.
When the user enters data (status, reason and notes) the form should create a record in the action table with the student id, the date (entered in the top section) and the add data (i.e. status, reason made notes).
How can i build a form contains records from a table (with records not exist before adding them).