Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL Error# 3167 Record is Deleted with Merge Replication

Posted on 2011-09-28
1
Medium Priority
?
332 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 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

636 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