Solved

SQL Error# 3167 Record is Deleted with Merge Replication

Posted on 2011-09-28
1
306 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now