以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  有个问题 andalso 和and有什么区别  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=16337)

--  作者:ajim
--  发布时间:2012/2/10 11:00:00
--  有个问题 andalso 和and有什么区别
 If Tables("地接").Current("锁定") =True AndAlso User.Group <> "经理" Then

   e.Cancel  = True

End


If Tables("地接").Current("锁定") =True And User.Group <> "经理" Then

   e.Cancel  = True

End

我看都可以用啊

--  作者:狐狸爸爸
--  发布时间:2012/2/10 11:04:00
--  

http://www.foxtable.com/help/topics/0220.htm