Reuse the recordset object
I want to a recordset object at least twice times; first for students, second for teacher and third for subjects as below:
objRecordset.Open "SELECT * FROM tbl_student", objConn
'list of students
objRecordset.Open "SELECT * FROM tbl_teacher", objConn
'list of teachers
objRecordset.Open "SELECT * FROM tbl_subject", objConn
'list of subjects
I may reuse the recordset of students in here too.
Can I do that? if so, how?
Many thanks
__________________
Mr. Sokha Eap
Webmaster
UNDP Cambodia
|