By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,067 Members | 1,818 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,067 IT Pros & Developers. It's quick & easy.

Assigning one lesson to many or all students at once

P: n/a
Hello everyone,

I would like to assign a lesson to many students as a group rather
than individually.

Any suggestions would be appreciated.

Dave White
Mar 11 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"Dave White" <dj*****@snet.netwrote in message
news:ii********************************@4ax.com...
Hello everyone,

I would like to assign a lesson to many students as a group rather
than individually.

Any suggestions would be appreciated.

Dave White
If you're saying you want to update a group of records where a field in
those records indicates that the students associated with those records are
all taking/have completed a certain lesson, I believe an update query would
do the job for you. If, however, you mean what that sentence actually says,
I would suggest that you wait until you have all the students together in
your classroom, then tell them what you want them to do. ;-)
Mar 11 '07 #2

P: n/a
When homework or class work is assigned to students a new record is
created in the lessons table for that particular assignment.

Most, but not all, students have the same assignments.

When a student completes the assignment his grade his entered.

Presently, I must assign each student ( in the Students Table) each
lesson (from the Lessons Table).

This assignment takes place in a Junction Table.

I would like to assign each lesson on a group basis to students.

Dave White

On Sun, 11 Mar 2007 01:46:18 -0500, "Steve Cartnal"
<sc******@alltel.netwrote:
>
"Dave White" <dj*****@snet.netwrote in message
news:ii********************************@4ax.com.. .
>Hello everyone,

I would like to assign a lesson to many students as a group rather
than individually.

Any suggestions would be appreciated.

Dave White

If you're saying you want to update a group of records where a field in
those records indicates that the students associated with those records are
all taking/have completed a certain lesson, I believe an update query would
do the job for you. If, however, you mean what that sentence actually says,
I would suggest that you wait until you have all the students together in
your classroom, then tell them what you want them to do. ;-)
Mar 11 '07 #3

P: n/a
Your second post gets an A+. The previous merited an F. :-)

I would do batch assignments using an unbound form with two (2)
listboxes, one for the students, the other for the assignments,

Set the .multiselect property of the students list to simple,
Write VBA code in the assignments listbox .AfterUpdate event
which reads the students listbox, row by row, determines if the
student is or is not selected, and creates an insert query for
the student/assignment, executes the query, and loops to the
next selected student.

pseudo code example:

For each assignee in lstStudents.itemsSelected
strSQL = "Insert into StudentsAssignments"
& " (StudentID, AssignmentID)"
& "(" & lstStudents(column1,assignee)
& "," lstAssignments & ");"

sql.execute strSQL
next

Check the help entries for listbox, , specifically the
ItemsSelected and column() properties of

Dave White <dj*****@snet.netwrote in
news:9h********************************@4ax.com:
When homework or class work is assigned to students a new
record is created in the lessons table for that particular
assignment.

Most, but not all, students have the same assignments.

When a student completes the assignment his grade his entered.

Presently, I must assign each student ( in the Students Table)
each lesson (from the Lessons Table).

This assignment takes place in a Junction Table.

I would like to assign each lesson on a group basis to
students.

Dave White

On Sun, 11 Mar 2007 01:46:18 -0500, "Steve Cartnal"
<sc******@alltel.netwrote:
>>
"Dave White" <dj*****@snet.netwrote in message
news:ii********************************@4ax.com. ..
>>Hello everyone,

I would like to assign a lesson to many students as a group
rather than individually.

Any suggestions would be appreciated.

Dave White

If you're saying you want to update a group of records where a
field in those records indicates that the students associated
with those records are all taking/have completed a certain
lesson, I believe an update query would do the job for you.
If, however, you mean what that sentence actually says, I
would suggest that you wait until you have all the students
together in your classroom, then tell them what you want them
to do. ;-)


--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Mar 11 '07 #4

P: n/a
Thanks for the A+ but I'm probably going to get another F .

I only have 3 months experience in Access and I haven't written any
VBA code.

You have,however ,opened some new avenues for me.

Thanks,
Dave White
On 11 Mar 2007 11:17:42 GMT, Bob Quintal <rq******@sPAmpatico.ca>
wrote:
>Your second post gets an A+. The previous merited an F. :-)

I would do batch assignments using an unbound form with two (2)
listboxes, one for the students, the other for the assignments,

Set the .multiselect property of the students list to simple,
Write VBA code in the assignments listbox .AfterUpdate event
which reads the students listbox, row by row, determines if the
student is or is not selected, and creates an insert query for
the student/assignment, executes the query, and loops to the
next selected student.

pseudo code example:

For each assignee in lstStudents.itemsSelected
strSQL = "Insert into StudentsAssignments"
& " (StudentID, AssignmentID)"
& "(" & lstStudents(column1,assignee)
& "," lstAssignments & ");"

sql.execute strSQL
next

Check the help entries for listbox, , specifically the
ItemsSelected and column() properties of

Dave White <dj*****@snet.netwrote in
news:9h********************************@4ax.com :
>When homework or class work is assigned to students a new
record is created in the lessons table for that particular
assignment.

Most, but not all, students have the same assignments.

When a student completes the assignment his grade his entered.

Presently, I must assign each student ( in the Students Table)
each lesson (from the Lessons Table).

This assignment takes place in a Junction Table.

I would like to assign each lesson on a group basis to
students.

Dave White

On Sun, 11 Mar 2007 01:46:18 -0500, "Steve Cartnal"
<sc******@alltel.netwrote:
>>>
"Dave White" <dj*****@snet.netwrote in message
news:ii********************************@4ax.com ...
Hello everyone,

I would like to assign a lesson to many students as a group
rather than individually.

Any suggestions would be appreciated.

Dave White

If you're saying you want to update a group of records where a
field in those records indicates that the students associated
with those records are all taking/have completed a certain
lesson, I believe an update query would do the job for you.
If, however, you mean what that sentence actually says, I
would suggest that you wait until you have all the students
together in your classroom, then tell them what you want them
to do. ;-)

--
Bob Quintal

PA is y I've altered my email address.
Mar 11 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.