G
Guest
I have a scheduling form which has several unbound controls so the user can
identify the schedule they want to work with. Due to the "crosstab with
extras" nature of the scheduling process, I've resorted to using a temporary
table and a Save button (hangs head in shame) that inserts the data back into
the (properly normalised, I promise!) permanent tables.
I want to give the user the option to change their mind if they change one
of the unbound controls to look at a different schedule, without having saved
changes back to the permanent tables.
My problem is that I cannot make the controls return to their original
states, even though I am using Cancel = True and Me!Ctrlname.Undo in the
BeforeUpdate event code for each of the controls. The code runs, generates
no errors, cancels insofar as the AfterUpdate event doesn't fire, but leaves
the control showing its changed value - this is true for two combo boxes and
an option group containing only 2 radio buttons.
Can anybody tell me why this is so, and how to correct this behaviour?
Any assistance or advice (apart from "Don't use a temporary table and
unbound controls" - believe me, I tried to avoid it!) gratefully received!
identify the schedule they want to work with. Due to the "crosstab with
extras" nature of the scheduling process, I've resorted to using a temporary
table and a Save button (hangs head in shame) that inserts the data back into
the (properly normalised, I promise!) permanent tables.
I want to give the user the option to change their mind if they change one
of the unbound controls to look at a different schedule, without having saved
changes back to the permanent tables.
My problem is that I cannot make the controls return to their original
states, even though I am using Cancel = True and Me!Ctrlname.Undo in the
BeforeUpdate event code for each of the controls. The code runs, generates
no errors, cancels insofar as the AfterUpdate event doesn't fire, but leaves
the control showing its changed value - this is true for two combo boxes and
an option group containing only 2 radio buttons.
Can anybody tell me why this is so, and how to correct this behaviour?
Any assistance or advice (apart from "Don't use a temporary table and
unbound controls" - believe me, I tried to avoid it!) gratefully received!