Guest_imported
New member
- Jan 1, 1970
- 0
hi!
I have a BIG problem. I'm trying to insert some records in a database,( fox, acces) I read a lot of samples, and i tried, but the server response is - operation must use an updatable query. Is this correct? (I pasted it from a sample) Is this a server problem or ADO problem?
<%
filePath = Server.MapPath("emb.mdb"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Set oConn = Server.CreateObject("ADODB.Connection"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filePath
Set oRs = Server.CreateObject("ADODB.Recordset"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
strSQL ="INSERT INTO emb (name) VALUES ('kuku')"
oConn.Execute(strSQL)
....
I have a BIG problem. I'm trying to insert some records in a database,( fox, acces) I read a lot of samples, and i tried, but the server response is - operation must use an updatable query. Is this correct? (I pasted it from a sample) Is this a server problem or ADO problem?
<%
filePath = Server.MapPath("emb.mdb"
Set oConn = Server.CreateObject("ADODB.Connection"
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filePath
Set oRs = Server.CreateObject("ADODB.Recordset"
strSQL ="INSERT INTO emb (name) VALUES ('kuku')"
oConn.Execute(strSQL)
....