Foxtable(狐表)用户栏目专家坐堂 → 请各位老师帮忙看看这段代码有什么问题


  共有1770人关注过本帖树形打印复制链接

主题:请各位老师帮忙看看这段代码有什么问题

帅哥哟,离线,有人找我吗?
有点色
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:13837 积分:69650 威望:0 精华:0 注册:2016/11/1 14:42:00
  发帖心情 Post By:2017/6/1 20:47:00 [显示全部帖子]

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

 回到顶部