D
Dave Moss
Hello,
I am writing a procedure for the 'Before Update' event of
a combo box control.
The code checks to see whether the record selected from
the combo list has already been used elsewhere on the form.
If it has, then a message box is shown:
RetValue = MsgBox("Continue?", vbOKCancel)
If the user chooses 'cancel', how do I use the returned
value (2) to return the control to its original position?
i.e. showing the previous field value?
I am writing a procedure for the 'Before Update' event of
a combo box control.
The code checks to see whether the record selected from
the combo list has already been used elsewhere on the form.
If it has, then a message box is shown:
RetValue = MsgBox("Continue?", vbOKCancel)
If the user chooses 'cancel', how do I use the returned
value (2) to return the control to its original position?
i.e. showing the previous field value?