Hi there,
I'm trying to create an Update page in ASP so that I can update a student's info. The problem I'm having is displaying the current teacher the student currently has in the combobox. I'd like to have the current teacher already selected in the combobox so that I don't accidentally select the same teacher. (E.g. If a Student changes his/her teacher from Mr. Smith over to Mr. Jones, the in the Update page, Mr. Smith is already selected in the combobox, and I can select Mr. Jones within the same combobox)
Here are my tables and fields that I have;
tblTeachers
fldTeacherID
1
2
3
fldTeacherName
Mrs. Avery
Mr. Jones
Mr. Smith
tblStudents
fldStudentID
1
2
3
fldTeacherID
3 (Student 1 has Mr. Smith)
2 (Student 2 has Mr. Jones)
1 (Student 3 has Mrs. Avery)
Could someone help out please?
Thx!
Genki Dave
I'm trying to create an Update page in ASP so that I can update a student's info. The problem I'm having is displaying the current teacher the student currently has in the combobox. I'd like to have the current teacher already selected in the combobox so that I don't accidentally select the same teacher. (E.g. If a Student changes his/her teacher from Mr. Smith over to Mr. Jones, the in the Update page, Mr. Smith is already selected in the combobox, and I can select Mr. Jones within the same combobox)
Here are my tables and fields that I have;
tblTeachers
fldTeacherID
1
2
3
fldTeacherName
Mrs. Avery
Mr. Jones
Mr. Smith
tblStudents
fldStudentID
1
2
3
fldTeacherID
3 (Student 1 has Mr. Smith)
2 (Student 2 has Mr. Jones)
1 (Student 3 has Mrs. Avery)
Could someone help out please?
Thx!
Genki Dave
Comment