Foxtable(狐表)用户栏目专家坐堂 → 启动验证


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

主题:启动验证

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


加好友 发短信
等级:一尾狐 帖子:485 积分:4069 威望:0 精华:0 注册:2015/12/16 8:22:00
启动验证  发帖心情 Post By:2019/6/3 9:54:00 [只看该作者]

系统用原foxtable自带的账户管理登陆,现在考虑在输入账户和密码之后,系统进行验证,若不通过将弹出对话框验证,但在目前设置中弹出对话框后仍可以操作;

想弹出对话框之后当前只能操作对话框,其它不允许,请问如何处理?

afteropenproject
Dim fr As DataRow = DataTables("ERPUsers").SQLFind("Name = '"& User.Name &"'")
If fr IsNot Nothing Then
    If fr.IsNull("ComputerId") = False Then
        If fr("ComputerId") = ComputerId Then
            Dim dr As DataRow = DataTables("B_CSlist").SQLFind("姓名 = '"& User.Name &"'")
            If dr IsNot Nothing Then
                _Quyu = dr("区域中文")
                _LabNo = dr("区域")
                _UserNo = dr("客服编号")
                If dr("版本提醒") = False Then
                    forms("登录版本提醒").open()
                End If
            Else
                Tables("B_CSlist").addnew
                Tables("B_CSlist").Current("姓名") = User.Name
                Forms("首次登录用户信息维护").Open()
            End If
        Else
            Forms("ComputerID重新绑定").open
        End If
    Else
        Forms("ComputerId绑定").open
    End If
Else
    MessageBox.Show("系统未找到您的用户信息,请联系管理员,谢谢!","温馨提示")
    Syscmd.Project.Exit()    
End If

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