bengelhart
asked on
Write Conflict Due to Code Updating
I have some code (ADO) that runs from a child form and updates some fields on a parent form. I always get a write conflict message when this runs. I tried putting a save function in for the parent form from the child form and it isn't working (look at line of code below). Any ideas on how to figure this out?
Forms!frmPriceQuote.Form.A pplication .DoCmd.Run Command acCmdSaveRecord
Forms!frmPriceQuote.Form.A
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That would stop the write conflict? I figured I would need to run some kind of save function for the parent form right before I run my ADO code in the subform.
ASKER
That worked!! Thanks!!
But setting Dirty to False forces a save