newbie ado

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 ?
 
K

Kevin Spencer

Make sure that the folder containing your .mdb file has "Modify" (file)
permission granted to the IUSER_<machine name> user account on the server.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
A

Al Marino

running XP, IIS, FrontPage, all on one machine local

using IIS, i have verified the IUSR_<machine name> has read/write
on directory and file (i assume you had typo of IUSER)

any other ideas ?

al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top