S
SimonG via AccessMonster.com
I have an unbound combo box as part of a form header, the value in this
control effects the detail contents of the rest of the form. Due to its
nature I want to put a user warning on this control “Are you sure you want to
change this? - y/nâ€, sort of thing. Where the user decides not to make the
change I need to re-set the original value, and ideally move focus to a data
input control.
As the combo box is unbound, the BeforeUpdate event doesn't hold the old
values, so I understand I need to add some variables to the class module of
the form. Can someone advise me where I find this please?
On attempting to move the focus I get an error message 2108 “You must save
the field before you execute the GoToControl action or SetFocusâ€, how can I
overcome this limitation?
Many thanks,
Simon
ps
Access 2007 SP1
control effects the detail contents of the rest of the form. Due to its
nature I want to put a user warning on this control “Are you sure you want to
change this? - y/nâ€, sort of thing. Where the user decides not to make the
change I need to re-set the original value, and ideally move focus to a data
input control.
As the combo box is unbound, the BeforeUpdate event doesn't hold the old
values, so I understand I need to add some variables to the class module of
the form. Can someone advise me where I find this please?
On attempting to move the focus I get an error message 2108 “You must save
the field before you execute the GoToControl action or SetFocusâ€, how can I
overcome this limitation?
Many thanks,
Simon
ps
Access 2007 SP1