ComboBox,SelectedIndexChanged
vars("scd") = Truee.Form.Controls("TextBox1").Select
TextBox,Validating
static idx As Integer = 0If idx = 1 Then e.cancel = True idx = 0End IfIf vars("scd") = True Then idx = 1 e.cancel = True vars("scd") = FalseEnd If