Solved

SQL Error# 3167 Record is Deleted with Merge Replication

Posted on 2011-09-28
1
309 Views
Last Modified: 2012-05-12
I have a database that we just recently setup to use merge replication.  It is an access databse attached to SQL server 2008 with bidirectional replication to a SQL Express 2008 installation.

Without the replication the databse works flawlessly.  With the replication when we add a new record we get the "Error #3167 Record is deleted"  message.  Hower If I add a record immediatley after the message it will work fine.  Anyone have any ideas on what may be causing this and how to fix it.

Note: I have seen that it may hvae something to do with memo fields but we have got to use memo fields.  We have thousands of them.
0
Comment
Question by:Rizzen1
1 Comment
 
LVL 41

Accepted Solution

by:
ralmada earned 500 total points
ID: 36716967
check this:

http://www.eggheadcafe.com/microsoft/Access-Replication/30896150/3167-error--record-is-deleted-in-replicated-database.aspx

specially this part:

>>1. always edit them with unbound controls. You do this by simply
taking your form with the memo on it and removing the control
source. Then, in the form's OnCurrent event, set the unbound memo
control to the value of the memo in the form's recordsource, and in
the memo control's AfterUpdate event, write the value back to the
field in the recordsource.

2. to be even safer, move all your memos into a memo table, where
each row has the parent record's PK and the memo field. If you have
more than one memo field in your table, you can add a field to
identify which memo. The form's recordsource would be more
complicated, but still doable, or you could go with fully unbound
editing for those memos. <<


0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question