Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to revert to original entry when editing combo box

Status
Not open for further replies.

psbsmms

Programmer
Dec 14, 2001
74
I have a routine that changes several items on the record and for external pictures, I want to put in a option after the user changes the combobox to revert back to the original choice. i have a message box asking if the really want to change in the on change event and if they select no i want to put the comnbo box back to the original choice.
 
You could use .oldvalue

eg if if msgbox reslt = no then me.comboboxname = Me.comboboxname.oldvalue
checking to make sure that null values can be accepted by this field or you will generate and error

hoep this helps

jo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top