473,890 Members | 1,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"This recordset is not updatable" - why not?

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 suggestions? I'm sure it's something
simple/stupid, but, geez... I've already spent too long on this.
Thanks!
Martin Lacoste

(what it does - find where [incipit] field differs when [ID] field is
the same in both tables)

SELECT DISTINCTROW [Index]![Incipit], MASTER.Incipit, MASTER.FullText
FROM [Index] INNER JOIN MASTER ON [Index].ID = MASTER.ID
WHERE ([Index]![Incipit]<>[MASTER]![Incipit])
ORDER BY [Index].Folio, [Index].Sequence;
Nov 13 '05 #1
7 13086
"Martin Lacoste" <ma*******@roge rs.com> wrote in message
news:d4******** *************** ***@posting.goo gle.com...
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 suggestions? I'm sure it's something
simple/stupid, but, geez... I've already spent too long on this.
Thanks!
Martin Lacoste

(what it does - find where [incipit] field differs when [ID] field is
the same in both tables)

SELECT DISTINCTROW [Index]![Incipit], MASTER.Incipit, MASTER.FullText
FROM [Index] INNER JOIN MASTER ON [Index].ID = MASTER.ID
WHERE ([Index]![Incipit]<>[MASTER]![Incipit])
ORDER BY [Index].Folio, [Index].Sequence;


The problem is caused by the DISTINCTROW predicate. You will need to write
your query some other way in order to make this recordset updateable,
(shouldn't use DISTINCTROW anyway IMO)
Nov 13 '05 #2

"John Winterbottom" <as******@hotma il.com> wrote in message
news:2k******** ****@uni-berlin.de...

The problem is caused by the DISTINCTROW predicate. You will need to write
your query some other way in order to make this recordset updateable,
(shouldn't use DISTINCTROW anyway IMO)

I thought there was a KB article on this - here it is

http://support.microsoft.com/default...b;en-us;207761
Nov 13 '05 #3
Thanks for your replies, John. I had tried removing the DistinctRow -
no change :-( The Unique Values Property is set to 'no', also. Any
further thoughts? I thought this was a very simple query.

Thanks
Martin Lacoste

"John Winterbottom" <as******@hotma il.com> wrote in message news:<2k******* *****@uni-berlin.de>...
"John Winterbottom" <as******@hotma il.com> wrote in message
news:2k******** ****@uni-berlin.de...

The problem is caused by the DISTINCTROW predicate. You will need to write
your query some other way in order to make this recordset updateable,
(shouldn't use DISTINCTROW anyway IMO)

I thought there was a KB article on this - here it is

http://support.microsoft.com/default...b;en-us;207761

Nov 13 '05 #4
ma*******@roger s.com (Martin Lacoste) wrote in
news:d4******** *************** ***@posting.goo gle.com:
Thanks for your replies, John. I had tried removing the
DistinctRow - no change :-( The Unique Values Property is set
to 'no', also. Any further thoughts? I thought this was a
very simple query.

Thanks
Martin Lacoste


Some other things to check:
The Recordset Type property is snapshot.
there is a left join in one of the source queries.
one of the source tables is a linked .dbf or spreadsheet

The first is guaranteed to make the query uneditable. the other two
are sometimes fixable by setting the recordset type to inconsistent
updates.

Bob Quintal
Nov 13 '05 #5
Thanks for your reply, Bob. Recordset Type is dynaset. No left
joins. No dbfs or spreadsheet links. Sigh... The search
continues...

Thanks
Martin Lacoste

Bob Quintal <bq******@gener ation.net> wrote in message news:<71******* *************** ********@news.t eranews.com>...
ma*******@roger s.com (Martin Lacoste) wrote in
news:d4******** *************** ***@posting.goo gle.com:
Thanks for your replies, John. I had tried removing the
DistinctRow - no change :-( The Unique Values Property is set
to 'no', also. Any further thoughts? I thought this was a
very simple query.

Thanks
Martin Lacoste


Some other things to check:
The Recordset Type property is snapshot.
there is a left join in one of the source queries.
one of the source tables is a linked .dbf or spreadsheet

The first is guaranteed to make the query uneditable. the other two
are sometimes fixable by setting the recordset type to inconsistent
updates.

Bob Quintal

Nov 13 '05 #6
Primary Keys?
Nov 13 '05 #7
dc****@aol.comSPNOAM (DCM Fan) wrote in message news:<20******* *************** *****@mb-m07.aol.com>...
Primary Keys?


Yup - both tables have them - have tried making them a part of the
data returned, have taken them out. This shouldn't be this
complicated, should it?

Thanks again for your help!
Martin Lacoste
Nov 13 '05 #8

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

Similar topics

5
2787
by: Michael Stevens | last post by:
Probably the wrong wording but since I'm not a scripter I won't claim to know what I'm talking about. I got this script from www.htmlgoodies.com <script language="JavaScript"> <!-- window.open ('photos01.html','photogallery',config='height=550, width=750,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');
3
1738
by: maadhuu | last post by:
well,i am curious to know what would be the output of the following: delete this; basically , comment on this .
1
2690
by: PeteCresswell | last post by:
I'm working on a new report in an MS Access DB. The first anomaly was a message "This action will reset the current code in break mode." when the report was run. Seems TB something about my Detail1_Print(): if I answer "No" to the dialog the report just runs. If I answer "Yes", it pops a new dialog seemingly at every line. Code is below. The real zinger, however, started on Friday. When I run the report in question somehow MS...
0
4361
by: Colleyville Alan | last post by:
My app is giving me this error. Run-time error 3211: The database engine could not lock table 'Sorted_Template' because it is already in use by another person or process. When I run the app the first time through, it runs fine. I get this when I run a make-table query that tries to write out the table called "Sorted_Template". I tried using a TableDefs.Delete command thinking that make using the docmd.openquery was causing the...
1
1304
by: Shapper | last post by:
Hello, I am accessing a value in a XML value: news.Load(Server.MapPath("xml/ news.rss")) newslabel.Text = CType(news.SelectSingleNode("rss version=&quot;2.0 &quot;/channel/title").InnerText, String) The XML file: <?xml version="1.0"?>
6
4628
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...
2
2394
by: Jeff Gardner | last post by:
Greetings: I've a script written for paging through a given recordset with page links, etc. I want to be able to limit the number of page numbers displayed as a large query may result in 100 or more pages and having 100 or more page links is ugly, to say the least. Below is the code that I am using for the paging. I'd like something like pages 1 - 5, click 5 or next, then pages 6-10 are displayed, etc. I am not sure where to start as...
17
11734
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...
2
10437
by: Eric Layman | last post by:
Hi, I have the following script below. I intend to have a dynamic array of non fixed size set rsseats = conn.execute("select * from seats") Dim arr(1) response.write ubound(arr) do while not rsseats.eof
0
9820
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11227
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
10812
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
10922
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,...
1
8016
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
5848
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4676
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4270
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3276
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.