Hi Delphi,
You should be able to execute your INSERT statement after opening the recordset, using the same data connection.
You might need to open the recordset into a dedicated object, to separate the connection object and the recordset.
Try this:
<%
Response.Expires = -1000
Dim oConn
Dim oRS
Dim sSQL
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\isclassof2003\db\ForSale.mdb"))
Set oRS = Server.CreateObject("ADODB.Recordset")
oRS.ActiveConnection = oConn
oRS.Source = "SELECT NetID FROM Student"
oRS.Open()
oConn.Execute "INSERT INTO Student (NetID,Password) VALUES ('" & netid & "','" & pass1 & "')"
oConn.Close
Set oRS = Nothing
Set oConn = Nothing
%>