I would like to update a table using info users enter from a previous form. I keep receiving the error message: "ADODB.Recordset error '800a0cb3' Object or provider is not capable of performing requested operation."
Below is my code. Please help, thanks!
<%
Set conn = Server.CreateObject("ADODB.Connection"
conn.open "DSN=Access"
q = "SELECT * FROM speakers WHERE S_ID = '" & S_ID & "'"
Set oRS = Server.CreateObject("ADODB.Recordset"
oRS.Open "Speakers", "Access"
oRS.Fields("Email"
= Request.Form("email"
oRS.Update
oRS.Close
Set oRS = Nothing
conn.Close
Set conn = Nothing
%>
Below is my code. Please help, thanks!
<%
Set conn = Server.CreateObject("ADODB.Connection"
conn.open "DSN=Access"
q = "SELECT * FROM speakers WHERE S_ID = '" & S_ID & "'"
Set oRS = Server.CreateObject("ADODB.Recordset"
oRS.Open "Speakers", "Access"
oRS.Fields("Email"
oRS.Update
oRS.Close
Set oRS = Nothing
conn.Close
Set conn = Nothing
%>