gsc123
Programmer
- Jan 24, 2008
- 197
Works on my local machine and when uploaded to website get this error
SELECT songs.[Real Song Name] FROM songs WHERE (((songs.id)=78))
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/main.asp, line 52
code line with error is - conntemp.Execute(strSql)
id=Request.QueryString("id")
strSql = "SELECT songs.[Real Song Name] FROM songs WHERE (((songs.id)="&id&"))"
Response.Write strSql
set rs = conntemp.Execute(strSql)
mp3 = rs("Real Song Name")
set rs=nothing
strSql = "UPDATE songs SET songs.[count] = songs.[count]+1 WHERE (((songs.id)="&id&"))"
conntemp.Execute(strSql)
url=" Response.Redirect(url)
SELECT songs.[Real Song Name] FROM songs WHERE (((songs.id)=78))
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/main.asp, line 52
code line with error is - conntemp.Execute(strSql)
id=Request.QueryString("id")
strSql = "SELECT songs.[Real Song Name] FROM songs WHERE (((songs.id)="&id&"))"
Response.Write strSql
set rs = conntemp.Execute(strSql)
mp3 = rs("Real Song Name")
set rs=nothing
strSql = "UPDATE songs SET songs.[count] = songs.[count]+1 WHERE (((songs.id)="&id&"))"
conntemp.Execute(strSql)
url=" Response.Redirect(url)