UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Hide Massage Of Write Conflict And Enforce Access To Copy To Clipboard, Access 2016    
 
   
Sami
post May 28 2019, 05:10 AM
Post#1



Posts: 49
Joined: 3-April 19



Hello, I have subform and pop up form that has same data source, I tried all ways to get ride of the error of write conflict but nothing get the problem solved so I think if I can hide the massege and take the copy clipboard choice.
Thanks in advance.
This post has been edited by Sami: May 28 2019, 05:17 AM
Go to the top of the page
 
gemmathehusky
post May 28 2019, 06:19 AM
Post#2


UtterAccess VIP
Posts: 4,725
Joined: 5-June 07
From: UK


I imagine you are getting the conflict because you have edited the same record in both the main form, and the subform. What you should do is save the record on the subform before you open the popup. (or the other way round - the point is you can only have one edited record at a time)

--------------------
Dave (Male)

(Gemma was my dog)
Go to the top of the page
 
Sami
post May 28 2019, 06:31 AM
Post#3



Posts: 49
Joined: 3-April 19



Hi I edit the record only in the subform and Pop up form but after I edit the record in the pop up and close it if I select another record in the subform I get this error.
Thanks
Go to the top of the page
 
Sami
post May 28 2019, 09:46 AM
Post#4



Posts: 49
Joined: 3-April 19



I got it!!
There's macro in the subform that throws the error .
I put after it this statement
CODE
if me.Dirty then me.Dirty = false

And every thing goes smoothly.
Thank you very much
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    25th August 2019 - 07:14 AM