[Webinar] Streamline your web hosting managementRegister Today


Write Conflict dialog box

Posted on 2006-03-24
Medium Priority
Last Modified: 2010-05-01
I get a "Write conflict" dialog box  when this hit
me.refresh and then you have to click save record.  Any way around this?

Any help would be greatly appreciated!!

Private Sub Combo91_Click()
Dim sql As String
  sql = "update [Roll Exception Report] set [Denied/Approved Mandatory] =""" & Me.[Combo91] & """ where [company number] = " & Me.[Text38]
 CurrentDb.Execute sql, dbFailOnError

End Sub
Question by:ca1358
1 Comment
LVL 44

Accepted Solution

Leigh Purvis earned 2000 total points
ID: 16285275
This is an Access question rather than VB huh?

Somewhere the data is being updated before you execute your Update statement.

Is the form you're working in bound? (To that same table?)

If so then perhaps
Me.Dirty = False
before executing.
However - if that were the case - you'd be as well off to just make the changes in the current form.

If it is another form that is open and bound to the same source - then you'll need to commit changes there first.

(The odds are against it being another user - but possible)

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

591 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