Hi, I have a problem trying to insert a new record to my database using the
SQL INSERT, could somebody help me? This is the code (in VBScript):
<%
dim myConnection
dim myQuery
myQuery = "INSERT INTO Temp_Table VALUES ('test', 'test')"
set myConnection = server.CreateObject ("ADODB.Connection")
myConnection.Open "Temp_DB"
myConnection.Execute (myQuery)
myConnection.Close
%>
Everytime I try it I get an error message that says:
"Operation must use an updateable query."
and points to this line:
myConnection.Execute (myQuery)
PLEASE Help Me!
Thanks in advance.
Cesar Mendoza.
The NOSPIN Group is now offering Free PC Tech
support at our newest website:
http://freepctech.com
|