Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / January 2007

Tip: Looking for answers? Try searching our database.

MS Access Linked Table to SQL Server returns 3197 on Delete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ITContractor - 18 Jan 2007 02:01 GMT
MS Access: 2003
SQL Server: 2000 (Supports Web-site)
ODBC:       Windows Auth.

On a Desktop

- Created NEW Microsoft Access 2003 mdb
- Created Linked Table to a SQL Server Table
- Opened in DataSheet view
- Highlighted one Record
- Right-click and elect "Delete Record"

* Received Error "The Microsoft Jet database engine stopped the
 process because you and another user are attempting to change
 the same data at the same time"

- No other users KNOW about the new mdb.
- SQL Profiler shows the sp_executesql Delete statement for the one Record
- The row IS NOT deleted

- Created a "delete from XXXX where ID = YYY" Query in the mdb
- Executed the Query.
- Worked fine.

Thank you in advance.
Alex Dybenko - 18 Jan 2007 17:29 GMT
Hi,
First try to add a timestamp filed and relink your table, then perhaps you
have a trigger in SQL server table, which do some updates?

Signature

Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> MS Access: 2003
> SQL Server: 2000 (Supports Web-site)
[quoted text clipped - 21 lines]
>
> Thank you in advance.
ITContractor - 19 Jan 2007 00:42 GMT
Bingo !

Thank you Alex.

> Hi,
> First try to add a timestamp filed and relink your table, then perhaps you
[quoted text clipped - 25 lines]
> >
> > Thank you in advance.
Sylvain Lafontaine - 18 Jan 2007 17:42 GMT
Maybe:
http://support.microsoft.com/default.aspx?scid=kb;en-us;318882&Product=acc

Also, make sure that you have defined a primary key for this table and that
there is not referential integrity (DRI) or trigger blocking the deletion.

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)

> MS Access: 2003
> SQL Server: 2000 (Supports Web-site)
[quoted text clipped - 21 lines]
>
> Thank you in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.