Hey guys,
I'm having this stupid error everytime I try to add a new record to my Access 2000 database.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/intern/AdminHistory.asp, line 23
line 23 happens to be "conn.Update" can someone tell me what I'm doing wrong and what may be a possible problem here.
<%
dim conn
Set conn = Server.CreateObject("ADODB.Recordset"
conn.ActiveConnection = MM_dbconn_STRING
conn.Source = "SELECT * From History"
conn.CursorType = adOpenDynaset
conn.LockType = 2
conn.Open()
conn.AddNew
conn.Fields("Date".Value = yr
conn.Fields("Description".Value = evnt
conn.Update
Set conn = nothing
%>
Thanx
I'm having this stupid error everytime I try to add a new record to my Access 2000 database.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/intern/AdminHistory.asp, line 23
line 23 happens to be "conn.Update" can someone tell me what I'm doing wrong and what may be a possible problem here.
<%
dim conn
Set conn = Server.CreateObject("ADODB.Recordset"
conn.ActiveConnection = MM_dbconn_STRING
conn.Source = "SELECT * From History"
conn.CursorType = adOpenDynaset
conn.LockType = 2
conn.Open()
conn.AddNew
conn.Fields("Date".Value = yr
conn.Fields("Description".Value = evnt
conn.Update
Set conn = nothing
%>
Thanx