D
DebbieG
I don't know how to accomplish what I want. I want a Main form that shows a
particular class. Then in a subform I want to list all possible students
(there won't be many) and then choose whether they attended, were absent, or
were excused. I put the subform on the main form (unbound). Then I put a
combo box on the subform for each record. I thought I could choose one of
the options and then grab the ID of the class and append the record to the
appropriate table. But when I choose an option it changes for all the
students.
My Main form is based on a query that has the following fields from these
tables;
Events table
------------
EventID
EventDate
EventTypeCD
EventCD
EventTypeCD table
--------------------
EventType
EventCD table
---------------
EventNM
The Join properties are to show all records from the Events table
My subform is based on a query that has the following fields from these
tables:
Students table
--------------
SSN
Name
EventsStudents table
---------------------
EventStatusCD (P = Present, A = Absent, E = Excused)
EventID
Joined on SSN field. The Join properties are to show all records from the
Students table.
I have the Main form and the subform linked on the EventID.
Right now, it displays only the students who are in the EventsStudents table
(which makes sense). And I can't figure out an easy way to add more
students. What I want: when I select a class, I want it to display ALL the
students -- some will already have an EventStatusCD for that particular
class and some won't (these students won't be the EventsStudents table yet).
I would want to use a combo box to select the EventStatusCD.
Is this making any sense? Or am I going about this the wrong way?
Debbie
particular class. Then in a subform I want to list all possible students
(there won't be many) and then choose whether they attended, were absent, or
were excused. I put the subform on the main form (unbound). Then I put a
combo box on the subform for each record. I thought I could choose one of
the options and then grab the ID of the class and append the record to the
appropriate table. But when I choose an option it changes for all the
students.
My Main form is based on a query that has the following fields from these
tables;
Events table
------------
EventID
EventDate
EventTypeCD
EventCD
EventTypeCD table
--------------------
EventType
EventCD table
---------------
EventNM
The Join properties are to show all records from the Events table
My subform is based on a query that has the following fields from these
tables:
Students table
--------------
SSN
Name
EventsStudents table
---------------------
EventStatusCD (P = Present, A = Absent, E = Excused)
EventID
Joined on SSN field. The Join properties are to show all records from the
Students table.
I have the Main form and the subform linked on the EventID.
Right now, it displays only the students who are in the EventsStudents table
(which makes sense). And I can't figure out an easy way to add more
students. What I want: when I select a class, I want it to display ALL the
students -- some will already have an EventStatusCD for that particular
class and some won't (these students won't be the EventsStudents table yet).
I would want to use a combo box to select the EventStatusCD.
Is this making any sense? Or am I going about this the wrong way?
Debbie