473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

updatable recordset?

RP
Hello, in an earlier post I asked about connection.open options. The DSNless
version seemedto work fine, but now I am having trouble getting a record set
to updatable. I am not sure if this has to do with the open method on either
of the recordset or the connection.

I get various version of

"Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object
is read-only.
/cosmetic/save.asp, line 79"

or

a.. Error Type:
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/cosmetic/save.asp, line 62

Here is the connection setup I am using.

Set conn = Server.CreateObject("ADODB.Connection")
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetpub\wwwroot\cosmetic\data.mdb;User Id=admin;Password=;"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "tblForum", conn, 3, adCmdTable

Thanks
Richard



Jul 19 '05 #1
1 2424
you'll find this question answered clearly and conciseley at
www.aspfaq.com

just plug the error code into the 'search' box.

________________________________________
Why? Why was I programmed to feel pain?

Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
click the link above!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Martin van Vliet | last post by:
Hello, When I try to run the following code I get an error: "Recordset not updatable". It is possible to show data from the same table on a webpage, so the database name and the table nam must...
6
by: Henry Bloom | last post by:
Hello, I have two questions: 1. The file-size of my mdb-Database grew extremely large after having written a lot of VBA-code. I know about the /decompile-option tried it .... it did not work....
4
by: cronept | last post by:
Hi, I made a database and split it to one back end and one front end. I am using Access 2000. I put the front end db on my co workers' computers and the back end on the server. The problem is...
1
by: Bob Darlington | last post by:
I am using code (simplified for this post) to generate a recordset to which I want to add a record. Set rs = db.Openrecordset("SELECT * FROM qVariations WHERE ......") ws.Begintrans If...
0
by: kentsoi | last post by:
i write the code as follow: when i try to edit text3's content' the message " this recordset is not updatable" is display. can anyone tell me what's wrong ??? thanks a lot...
3
by: Sim Zacks | last post by:
I have a postgresql backend with an access front end and I am trying to redefine the recordset of the form to use an ADO recordset. The problem is that the CursorType always changes to...
6
by: ZRexRider | last post by:
I've been reading the newsgroups and most of the solutions for this message are simple and obvious but unfortunately don't solve my problem. I have an MS-Access 2002 ADP application that...
3
by: ruthboaz | last post by:
Hi, I am upgrading the current ms access .mdb file to a .adp with sql server back end. I have been converted tables, forms, reports to .adp.. The tables are reflected at the server. a) ...
1
by: beceri | last post by:
Hi ; I use too mix query ( four relationship and main and child tables :) ) so that of couse my query is not updatable I agree this ! :( but I want to different thing ; when form is open my mix...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.