473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Assigning one lesson to many or all students at once

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
4 1778

"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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: fAbs | last post by:
hi, when I do: someclass &someobject = someotherobject; it asigns the reference of someotherobject to the variable 'someobject' that you just declared. SO that basically someobject and...
28
by: Keith | last post by:
I am having a problem creating a many-to-many-to-many type relationship. It works fine, but when I create a view to query it and test it, it does not generate the results I expected. Below...
10
by: Jim Bayers | last post by:
We need to stop students from clicking on the form button more than once. We have a form that students fill out with their credit card information. They click, the form sends the data in xml to...
3
by: Juan R. | last post by:
In http://canonicalscience.blogspot.com/2006/04/scientific-language-canonml-is.html] I presented some generic requirements for a markup language for science and mathematics. Basic features of...
4
by: Dave White | last post by:
Hello Everyone, I have created two tables to track my students' lessons. Each student is responsible for most, but not all. of the lessons. I've tried a junction table but I can't figure out...
2
by: %NAME% | last post by:
I am admin a db2 instance for a class of over 500 students. I am wondering if there is some scripts already for assigning basic authorization to the a list of studentIds and bookkeep their...
2
by: susmitasp | last post by:
Question: 24students registered to the class. Write C++ program to find how many students with age range of: //- less than 25 //- 26-30 //- 31-40 //- 41 and above Please try to help me to...
13
by: Eric IsWhoIAm | last post by:
I have four tables created so far: Courses, Instructors, Courses and Instructors (which shows the Course and Instructor Name fields, but holds their IDs since those are the keys), and Students....
14
by: xtheendx | last post by:
I am writing a gradbook type program. It first allows the user to enter the number of students they want to enter. then allows them to enter the first name, last name, and grade of each student. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.