Foxtable(狐表)用户栏目专家坐堂 → [求助]


  共有2411人关注过本帖平板打印复制链接

主题:[求助]

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


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2015/11/4 9:51:00 [只看该作者]

1、直接判断如

 

If e.Form.Controls("TextBox1").Text = "" Then

    msgbox("姓名不能为空")

    return

End If

 

If e.Form.Controls("TextBox6").Text = "" Then

    msgbox("客户意向不能为空")

    return

End If

 

2、

 

If e.Form.Controls("TextBox3").Text > "" Then

    Dim fdr As DataRow = DataTables("表A").Find("电话 = '" & e.Form.Controls("TextBox3").Text & "'")

    If fdr IsNot Then

        msgbox("找到了")

    End If

End If


 回到顶部
总数 12 1 2 下一页