S
Steve S
How do I set a combobox to a previous value? When finished updating a
particular record the user selects an identifer in a combobox to advance to
the next desired record. I use the BeforeUpdate event of the combobox to ask
a yes/no question. If NO I want to stay with the current record and this
works. the problem is that the combobox has been advanced to the new
selection and stays there. Now I have the identifer for one record in the
combo box but the form is still (as it should be) on the current record.
I need to roll back the combobox to what it was before the update but I
can't seem to get this part right. Tried me.bx = me.bx.oldvalue but that
generates an error message.
Also what is the difference between ' DoCmd.CancelEvent' and 'Cancel =
True'
All comments and suggestions are appreciated
particular record the user selects an identifer in a combobox to advance to
the next desired record. I use the BeforeUpdate event of the combobox to ask
a yes/no question. If NO I want to stay with the current record and this
works. the problem is that the combobox has been advanced to the new
selection and stays there. Now I have the identifer for one record in the
combo box but the form is still (as it should be) on the current record.
I need to roll back the combobox to what it was before the update but I
can't seem to get this part right. Tried me.bx = me.bx.oldvalue but that
generates an error message.
Also what is the difference between ' DoCmd.CancelEvent' and 'Cancel =
True'
All comments and suggestions are appreciated