I've tried disconnecting and reconnecting the table but still the same
thing. In SQL Server, the permissions are the same as all the other tables.
I can't seem to figure out what's making this one read only.
I'm using SQL Server 2005 Express and Access 2003. Any ideas would be
greatly appreciated.
Thanks!
Does the table have a primary key? Tables linked to SQL Server need a
primary key to be updateable.
Thanks guys!
Just out of curiosity, is there any reason why that is? I wound up
installing a work around for the time being in the form of a stored
procedure, but is there any resource that provides an explanation of that
reasoning?
"Rico" <r c o l l e n s @ h e m m i n g w a y . c o mREMOVE THIS PART IN
CAPS> wrote in message news:zA72g.55411$7a.37458@pd7tw1no...
I don't know Access and what these "linked tables" are all about. But
I assume that you get to see the table data in some grid in Access, and
you can change data in it, and write that change back to the database.
The problem is then to locate that row in the database.
And the way to locate data in an relational database is through primary
keys, that is the data itself. So if there is no primary key, there is
no way to know which row you updated. To avoid disasters, Access is
smart enough to prevent you from even trying.
--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
"Lyle Fairfield" <lylefa...@aim.com> wrote in message
news:1145701034.7...@e56g2000cwe.googlegroups.com...
Congratulations, you've just updated every record in your table to the new
owner.
In other words, you've just sold every house on the block to the same
person.
You need a where clause and in order to pick a SPECIFIC house, you need
something that ID's it uniquely.
Must have been Donald Trump.
"Greg D. Moore (Strider)" <mooregr_d...@greenms.com> wrote in message
news:zds2g.7701$sq5....@newsread2.news.atl.earthlink.net...
Without a key, it's not possible to determine which row that is to be
updated.
Yes, in a one-row table it is possible, but apparently no one thought
special case be worth covering. Particularly since most tables start out
empty, and then pass through a phase as one-row tables. Would be
confusing if the table got read-only because you added a second row.
Easiest is to add a primary-key to the one row table.