Hi,
I have a student database contains the following tables:
Student Table (Id, StudentName, ClassNum, ....)
and 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 sub form 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 mad 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 mad notes)
How can i build a form contains records from a table (with records not exist before adding them).
Thanks in advance.