473,767 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

this recordset is not updatable

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
*************** *************** *

Option Compare Database
Private cnnNwind As New ADODB.Connectio n
Private rstNwind As New ADODB.Recordset

Private Sub Form_Load()
cnnNwind.Mode = adModeReadWrite
With cnnNwind
.Provider = "vfpoledb.1 "
.Open "C:\shared"
End With
With rstNwind
Set .ActiveConnecti on = cnnNwind
.CursorLocation = adUseClient
.CursorType = adOpenKeyset
.LockType = adLockPessimist ic
.Open "customers" , cnnNwind, , , adCmdTable
End With

Set Me.Recordset = rstNwind

Me.Text1.Contro lSource = "CustomerID "
Me.Text2.Contro lSource = "companynam "
Me.Text3.Contro lSource = "address"

End Sub
*************** *

Nov 13 '05 #1
0 1353

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

Similar topics

6
2188
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. Why? what to do now? 2. I have a query producing an updatable dynaset of data. When I tried opening it in a VBA-routine like
7
13078
by: Martin Lacoste | last post by:
I have a very basic query that Access 2000 will not allow to be updatable. I've gone through all the situations in the help file where data cannot be updated, and I don't see that this query belongs to any of those. I have checked all permissions, locks, etc.. - can't find anything out of the ordinary that would explain it. Deleted the DistinctRow - no change. The SQL version is below - anyone notice the problem or have any...
3
5487
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 AdOpenStatic, even if I choose adOpenDynamic. If anyone has any thoughts, please let me know. The form works great for viewing, but I cannot update or insert any new records. Below is the code I am using: connectstr = "DSN=SAP_PG;uid=postgres" Set conn...
6
4618
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 connects to SQL server. The application is deployed to 100+ users and in most cases works fine. I have a sub-set of users (~20) who have an auditing function. They review transactions entered by the other 100+ and accept or reject them. There are a...
9
1879
by: Kosmos | last post by:
Hey guys...the following code doesn't seem to work refering to the line It says the field is not updatable...I've never updated a table from a module before so I'm not sure if I am doing this right but the code is pasted below (the variable 'x' has nothing to do with anything as of now, it's something I will need later)(also no need to read the commentary it's more for my own purposes since this is still a learning experience for me):
17
11717
by: radio1 | last post by:
Configuration: Access 2002 and SQL Server 2000 using a .ADP Project. I would VERY MUCH appreciate anyone's input into this problem I'm having. I have a form in Access that does not permit the user to add/change/delete any data, apparently as a result of adding a GROUP BY clause to a View used indirectly as the form's Record Source. I really don't believe that this restriction needs to be there, and I'm hoping that someone can suggest...
3
5244
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) I am unable to edit or add any records from the forms, when the data is viewable from sql server connection.
1
1920
by: Charlie | last post by:
What properties to you set to make a SQL 2005 recordset updatable? In Access, it's Recordset.edit Recordset!FieldName=SomeValue Recordset.update Any help is appreciated.
2
2160
by: RZ15 | last post by:
Hi, A coworker of mine can not link or import tables into her Access database files, whether its from the server or from her own harddrive. When she tries, she is getting the message "Recordset is not Updatable." I asked her to put the database file and the excel file on the server so I can try it from my computer and everything worked perfectly fine from my computer. Does anybody know what the problem is from her computer and how I can...
0
9575
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10014
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9960
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8840
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7384
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6656
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2808
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.