Dim Filter As String With e.Form.Controls("症状描述") If .Value Is Nothing Then MessageBox.Show("请输入症状情况!", "提示") Return End If End With Dim cmb As WinForm.ComboBox = e.Form.Controls("疾病名") Dim str As String = e.Form.Controls("症状描述").Text e.Form.Controls("疾病名").ComboList = DataTables("jbmb").GetComboListString("疾病名","症状 Like '%" & str & "%'") If e.Form.Controls("疾病名").ComboList = Nothing Then MessageBox.Show("未找到所述症状!请重新输入!", "提示") End If
|