April 29, 2003 at 1:19 am
Hi all!
I linked a SQL Server to access DB as several users were using the SQL DB from access forms. But, when I tried to modify a linked table directly by opening the table in the access there comes a cute little 'Write Conflict' message that 'This record has been changed by another user since you started editing it. If you save you will overwrite the other user' and the best part is, it does not let me save !!! Note that, this problem does not occur when updating through a query
Can anyone help me resolve this? Thanks.
April 29, 2003 at 7:25 am
Do you have primary key defined in your SQL Server table?
Edited by - Allen_Cui on 04/29/2003 07:25:02 AM
April 29, 2003 at 8:50 pm
Yes, I do have a column set as the Primary Key.
April 30, 2003 at 7:34 am
Make sure all of columns have been assigned values when insert/update a row.
April 30, 2003 at 7:55 am
Hi...I recently converted an entire access database to use SQL Server tables. I found that sometimes Access wouldn't set the primary key correctly on linked tables. Verify that the SQL Server primary key matches what Access thinks is the primary key. Hope this helps.
April 30, 2003 at 8:36 am
Make sure you do not have bigint as a datatype in any of your SQL tables.
Make sure your decimal datatypes aren't bigger than (15,4).
Make sure none of your bit fields allow nulls or have nulls in them.
Michelle
Michelle
May 19, 2003 at 5:31 am
Hi,
maybe a little late for an answer, but...
An issue with linked SQL Server tables in Access I stumble over very often is that, every time you change something in the table definition in SQL Server, you should drop the link in Access and connect again. If you don't, Access can behave very strange
Cheers,
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
May 20, 2003 at 8:16 am
Frank,
You don't have to drop the linked table, Just refresh it.
May 20, 2003 at 8:21 am
quote:
You don't have to drop the linked table, Just refresh it.
How do you refresh a link?
Cheers,
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
May 20, 2003 at 8:43 am
From tools --> Add-Ins --> Linked Table Manager --> select tables you want to refresh.
May 20, 2003 at 8:47 am
quote:
From tools --> Add-Ins --> Linked Table Manager --> select tables you want to refresh.
Now I know what you mean. Sure that works, but I prefer to quickly drop the link and relink again. I feel more confident with this
Cheers,
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
May 23, 2003 at 7:27 am
When I've had this error it was caused by setting a default on a bit column that already had nulls in records. To fix, I populated the nulls with the default.
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply