Hi there,
I have form and it has subform inside it and now I have save button, since when we were moving focus from form to subform it was asking to save record as we had form before update event to save confirmation so I removed it and on save button i have written docmd.runcommand acsaverecrod.
This works very well when we have new record but when we are opening existing record which is populated on both subform and form and when we are editing and modifing it some content and when we click on save button it ask for want to save or not, even though we click on NO it saves recrod.
on VBYES confirmation I have written docmd.runcommand acsaverecord and else if I click NO it do exit sub.
What could be possible reason..
Thanks
I have form and it has subform inside it and now I have save button, since when we were moving focus from form to subform it was asking to save record as we had form before update event to save confirmation so I removed it and on save button i have written docmd.runcommand acsaverecrod.
This works very well when we have new record but when we are opening existing record which is populated on both subform and form and when we are editing and modifing it some content and when we click on save button it ask for want to save or not, even though we click on NO it saves recrod.
on VBYES confirmation I have written docmd.runcommand acsaverecord and else if I click NO it do exit sub.
What could be possible reason..
Thanks