J
jschping
Hi,
I need to create a schedule for teachers to proctor finals.
I have 2 tables: Table A has the classrooms that need proctors and the times
of the test. Table B has a list of teachers and the times that they work in
the school.
I need to write a program to fill Table A, using the teachers in Table B.
But for each row in Table A, I need to check: 1) does the teacher work during
the time period of the test, 2) are they already slated to proctor in a
different room at that time.
This isn't a difficult algorithm, I think. I just need to iterate through
each row of Table A, and for each row go through all the rows of Table B,
checking the criteria. If they are fine, then insert that teacher's name, and
go to the next row of Table A.
I just don't have a clue how to code it in VB.
Please help!
Thanks so much!
I need to create a schedule for teachers to proctor finals.
I have 2 tables: Table A has the classrooms that need proctors and the times
of the test. Table B has a list of teachers and the times that they work in
the school.
I need to write a program to fill Table A, using the teachers in Table B.
But for each row in Table A, I need to check: 1) does the teacher work during
the time period of the test, 2) are they already slated to proctor in a
different room at that time.
This isn't a difficult algorithm, I think. I just need to iterate through
each row of Table A, and for each row go through all the rows of Table B,
checking the criteria. If they are fine, then insert that teacher's name, and
go to the next row of Table A.
I just don't have a clue how to code it in VB.
Please help!
Thanks so much!