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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing and disabling combo boxes

Status
Not open for further replies.

lskuff

Programmer
May 19, 2004
20
US
I have a form with a bunch of combo boxes and a few text boxes. When the form opens all but one of the boxes are disabled and I use the afterUpdate to enable the next box for all of them. I want a button that resets the form the its original condition where there is no data selected for the combo boxes and they are disabled like when the form opens. How would I do this?
 
I may be off base here but when you want to clear the form are you not actually going to add a new record to the database? If so then simply going to the new record should clear all the controls on the form. As to setting them to their original state, there are a lot of ways to set the control.enabled attribute to false such as discretly refering to each control of stepping through with for each next. Is this along the line you were thinking or am I way off base here?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top