Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Gerhard #1
Trouble with database access: can't edit record, just view it
Hallo!
I use DWMX 6.1 and use ASP VBSCRIPT files to access a MS Access 2000
database. Initially I was able to edit the records. Then I had to add more
fields in the database. I can't edit any record now. I try to insert record
and I get the this error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access 97 Driver] Operation must use an
updateable query.
Eingabe.asp, line 115
here is a copy of that part:
line
110 If (Not MM_abortEdit) Then
111 ' execute the insert
112 Set MM_editCmd = Server.CreateObject("ADODB.Command")
113 MM_editCmd.ActiveConnection = MM_editConnection
114 MM_editCmd.CommandText = MM_editQuery
115 MM_editCmd.Execute
116 MM_editCmd.ActiveConnection.Close
117
118 If (MM_editRedirectUrl <> "") Then
119 Response.Redirect(MM_editRedirectUrl)
120 End If
121 End If
I'm pretty sure I've set up my odbc connections properly, I test the
connection in DWMX and
it connects successfully. When I view my site files, I'm able to see my
access database file.
I tried rewriting the ASP-files, using a new connection, but still not able
to edit any record.
Anyone has a clue what I am missing? Help appreciated. Thanks in advance.
Gerhard Guest
-
Trouble connecting to Access database
I uploaded my database to a remote server and I was required to change the name to match my DSN. However, now whenever I visit the web-site I... -
HTTP Link from database record view?
Hi, Prompted by the superb quality of help offered here I request some advice on the following problem: I want to have the http link in my... -
Trouble with access database
I am working on an updatable calendar and i am running into trouble. The page works great when testing it through http:\\localhost, however when i... -
editing record in access database
I am trying to pull a record into a form and then edit it. (not working to well) Hoping someone can show me a better way than this: <% option... -
deleting access database record
I am trying to write an asp page to delete a record from my access database. I have written the page to display the info but when I select the entry... -
The ScareCrow #2
Re:Trouble with database access: can't edit record, just view it
Check the priveledge levels in the folders
At the same level as the db or a level above there will be a folder called _private
The user attempting to update the db must have the correct security access in this folder.
Ken
If you never ask, you never get an answer.
ScareCrow Application Development
The ScareCrow Guest



Reply With Quote

