A
Al Marino
Hi All
simple code on an Access db "test", fields InUse, ExpDate
<%
Dim oConn, dtmDate, strUpdate
set oConn = server.createobject("adodb.connection")
oConn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetpub\wwwroot\nwbl\test.mdb;"
dtmDate = Date()-30
strUpdate = "Update TEST Set InUst = 'No' where ExpDate < # " & dtmDelDate
&"#"
oConn.execute strUpdate
%>
when I run this I get an error
"Operation must use an updateable query"
can anyone help ?
simple code on an Access db "test", fields InUse, ExpDate
<%
Dim oConn, dtmDate, strUpdate
set oConn = server.createobject("adodb.connection")
oConn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetpub\wwwroot\nwbl\test.mdb;"
dtmDate = Date()-30
strUpdate = "Update TEST Set InUst = 'No' where ExpDate < # " & dtmDelDate
&"#"
oConn.execute strUpdate
%>
when I run this I get an error
"Operation must use an updateable query"
can anyone help ?