Solved

SQL Error# 3167 Record is Deleted with Merge Replication

Posted on 2011-09-28
1
315 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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.

691 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