以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]逻辑列判断使用报表1还是报表2  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=125203)

--  作者:smardisk
--  发布时间:2018/9/22 8:07:00
--  [求助]逻辑列判断使用报表1还是报表2
我在表中设置一个逻辑列,想通过逻辑列判断是使用报表A还是报表B,要怎么写这个判断
--  作者:有点蓝
--  发布时间:2018/9/22 9:02:00
--  
Dim r As Row = Tables("表A").Current
If r("逻辑列") Then
    使用报表A
Else
    使用报表B
End If

--  作者:smardisk
--  发布时间:2018/9/22 9:12:00
--  
谢谢老师