以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  大哥啊大姐啊,干爹啊,我项目属性中用了这个代码,项目就打不开啦,  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=116969)

--  作者:UBSS
--  发布时间:2018/4/3 16:34:00
--  大哥啊大姐啊,干爹啊,我项目属性中用了这个代码,项目就打不开啦,
我项目属性中用了如下这个代码,项目就打不开啦,------------------------

e.Cancel = True \'首次打开项目的时候不加载表
Select Case e.DataTableName
Case "三方城配_配载常规录入"
Dim ss() As String = e.SelectString.ToLower.Replace("where","|").Split("|")
        e.SelectString = ss(0)  & " Where 配载_系统操作员 = \'"&  User.name &"\'"
        If ss.Length = 2 Then e.SelectString  = e.SelectString  & " and " & ss(1) 

End Select




那个能看出什么问题不






End Select
[此贴子已经被作者于2018/4/3 16:34:45编辑过]

--  作者:有点甜
--  发布时间:2018/4/3 16:34:00
--  

 

http://www.foxtable.com/webhelp/scr/1057.htm