473,385 Members | 2,005 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,385 software developers and data experts.

Table sql in acces is not updatable

Hi, I have a programs in access. Use a table in SQL serveur... Whit a
link in access. When a want write in this table, a receive a message
about the table: The recorset is not Updatable..

Do you know Why.

Nov 13 '05 #1
2 1749
Prog-master wrote:
Hi, I have a programs in access. Use a table in SQL serveur... Whit a
link in access. When a want write in this table, a receive a message
about the table: The recorset is not Updatable..

Do you know Why.


Probably no Primary Key defined on the server.

When you created a link and there is no PK on the server table you should
have been prompted to select the column or columns that Access should use to
build a unique index with. If you perform that step then the link will be
updateable. If you skip that step then the link will be read only. Of
course if you perform that step but you select the wrong column(s) then you
could end up trashing the data in the table when you make any edits.
The local index that Access creates to make the link editable will also be
lost if you later refresh the link.

Since every table in a proper database should have a PK, the best thing to
do is to modify the table on the server to add one and then create the link
over again. If the link is to a view then you might be forced to go with
the local index, but in that case be sure you know which columns should be
selected.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
Br
Rick Brandt <ri*********@hotmail.com> wrote:
Prog-master wrote:
Hi, I have a programs in access. Use a table in SQL serveur... Whit a
link in access. When a want write in this table, a receive a message
about the table: The recorset is not Updatable..

Do you know Why.
Probably no Primary Key defined on the server.


<>

Also, make sure all bit fields have a default value and more obviously
that you have permission to update the table.

In some cases the ODBC driver only supports read-only but this should be
ok for SQL7.
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #3

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

Similar topics

1
by: Richard Hollingsworth | last post by:
Hello: I've just converted my Access 2K db to SQL Server 2K and the conversion went smoothly. I created users, roles, views and forms and gave the users permissions to use them. I "THINK" I...
3
by: Thomas R. Hummel | last post by:
I am using SQL Server 2000, SP3. I created an updatable partitioned view awhile ago and it has been running smoothly for some time. The partition is on a DATETIME column and it is partitioned by...
0
by: Michelle | last post by:
Hi All Here's my scenario. I have a main form (shows team details and rostered shift for selected date). This form is updatable. On this form I have a subform which shows agents belonging to...
14
by: Martin Lacoste | last post by:
Access 2000 Trying even the most basic queries - select queries joining (inner join) two tables - and the results are not updatable, and I can't tell why they aren't. All permissions are on,...
9
by: HelmutMunich | last post by:
Hello, I am Helmut, my database for multiuser is Frontend/Backend. The turnover file is browsed by VBA for Article numbers to be found in the article table. I use DAO 3.6 lib. The sql Statement...
6
by: GaryDave | last post by:
My school registration database has not been quite right after a recent compact and repair (done while I was away). Though most of the many forms and subforms are working normally, one form in...
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...
11
by: Rico | last post by:
I have a data file that I converted from Access to SQL Server using the upsizing wizard. I then attached the tables to the Access front end using an ODBC connection. I have one table that is read...
0
by: Huellas Digitales | last post by:
I Have to machines in Where I Have Instaled a IIS and a Sql Server 2000 Data Base, I use WEB Services to acces database, It Works Wonderfull !!!. When I Try to access to a table From the Web...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
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...
0
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,...

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.