ASP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| <%@LANGUAGE="VBSCRIPT"%> <!--#include file="Connections/SmartNet.asp" --> <% Dim CommandObject set DatabaseConnection= Server.CreateObject("ADODB.Connection") DatabaseConnection.Open MM_SmartNet_STRING set CommandObject = Server.CreateObject("ADODB.Command") CommandObject.ActiveConnection = DatabaseConnection CommandObject.CommandText = "UPDATE Vergadering SET ver_subject='HALLO WERELD' WHERE ver_id=5" CommandObject.CommandType = 1 CommandObject.CommandTimeout = 1 CommandObject.Prepared = true CommandObject.Execute Set CommandObject = Nothing DatabaseConnection.Close Set DatabaseConnection = Nothing |
Hij geeft de volgende foutmelding>>>>>>
_____________________________________________________
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/query/updaterecords1.asp, line 16
_____________________________________
kan iemand mij verklappen hoe dit komt...Thanx