Bill Benson
bensonforums at gmail.com
Wed Apr 2 11:06:18 CDT 2014
I had assumed that the before update event would fire before the main form landed on a new record. I am not near Access at the moment to test. Feel free to ignore the suggestion Rocky it was just a swag. The thing I recall was that I found someplace to break the relationship between the subform and the main form then reestablish the relationship afterward. No guarantees it would help you in this case. I have to laugh when I post something that I don't know whether it will help and call it a guess and then you (anyone really) writes back and asks do I think it will help. Ok, "no" LOL. On Apr 2, 2014 11:50 AM, "Rocky Smolin" <rockysmolin at bchacc.com> wrote: > Do you think that will help? When the main form moves to a new record is > when the write conflict occurs. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson > Sent: Wednesday, April 02, 2014 8:01 AM > To: Access Developers discussion and problem solving > Cc: Off Topic > Subject: Re: [AccessD] Write Conflict > > Can you dissociate the child form in the before update event of the main > form and reassert it in the after update event? > On Apr 2, 2014 10:45 AM, "Rocky Smolin" <rockysmolin at bchacc.com> wrote: > > > Dear List(s): > > > > I have a form with a subform - both bound - to different tables - > > parent/child - linked Main form PK to subform FK - standard stuff. > > > > When I change the quantity of one of the fields of the subform, a > > quantity field on the parent form gets updated. All looks good until I > > try to move the main form to a new record. Then I get the Write > > Conflict message - Save Record, Copy to Clipboard, Drop Changes. I > > can see that if I Drop Changes, the quantity field on the Main form > > reverts to its original value. If I click Save Record, all is well. > > But I need for that message to go away. > > > > How to I work around this message? > > > > MTIA > > > > Rocky > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >