3个回答
展开全部
Private Sub Text1_Change()
If Text1.Text = "a" Then
Text2.Text = "a is ture"
ElseIf Text1.Text = "b" Then
Text2.Text = "b in then"
ElseIf Text1.Text = "c" Then
Text2.Text = " c in next"
ElseIf Text1.Text = "d" Then
Text2.Text = "d in exit"
'.................................
End If
如果在数据库检测,就不需要判断语句了。
If Text1.Text = "a" Then
Text2.Text = "a is ture"
ElseIf Text1.Text = "b" Then
Text2.Text = "b in then"
ElseIf Text1.Text = "c" Then
Text2.Text = " c in next"
ElseIf Text1.Text = "d" Then
Text2.Text = "d in exit"
'.................................
End If
如果在数据库检测,就不需要判断语句了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询