Solved

SQL Error# 3167 Record is Deleted with Merge Replication

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

705 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

15 Experts available now in Live!

Get 1:1 Help Now