Solved

This record has been changed by another user

Posted on 2013-10-23
4
316 Views
Last Modified: 2013-10-24
I have a form which when closed I get a write conflict message... This record has been changed by another user, etc.

The data behind the form has been updated with a update query prior to closing the form.  I've tried DoCmd.RunCommand acCmdSaveRecord in the form's close event but that doesn't work.

How can I get rid of this message?
0
Comment
Question by:SteveL13
  • 2
  • 2
4 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39595803
If the user is able to edit data in this form, try placing your DoCmd.RunCommand acCmdSaveRecord immediately BEFORE running your update query.
0
 

Author Comment

by:SteveL13
ID: 39596996
Didn't work.  Still get Write Conflict message.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39597029
Can you post a sample database?  There are a lot of different factors that could be causing that. Without seeing your actual code/forms, it is a guessing game as to what needs to be fixed.
0
 

Author Comment

by:SteveL13
ID: 39597030
Actually this did work.  I had the line of code in the wrong place.  Thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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 …

820 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