I have a comb
rderID button with a OnChange event. In the OnChange event, I would check for a IsFormDirty Flag. If the flag is set, I will proceed to undo the changes on all the controls on the form.
I use a "Me.undo" to undo the changes in the control.
And all the controls have bound data sources.
The code works perfectly whenever I click on the comb
rderID button which is currently the focus in the form.
I build the same code in another combo_CustID button. After I first clicked on comb
rderID button, dirty the form, then I clicked on the combo_CustID button(now, the focus). This will cause the dirty data to be saved.
Why is "Me.undo" unable to undo the changes?
If I clicked on comb
rderID button, dirty the form, then I clicked on the
comb
rderID button, the dirty data will not be save.
Has this got to do with the control in focus?
I use a "Me.undo" to undo the changes in the control.
And all the controls have bound data sources.
The code works perfectly whenever I click on the comb
I build the same code in another combo_CustID button. After I first clicked on comb
Why is "Me.undo" unable to undo the changes?
If I clicked on comb
comb
Has this got to do with the control in focus?