以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 全部表不加载数据? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178698) |
-- 作者:swagger -- 发布时间:2022/7/16 12:54:00 -- 全部表不加载数据? 每个表都写一次太麻烦,特别表很多 Select Case e.DataTableName Case “表1”,"表2"... "表100" e.SelectString = "Select * F rom {all} Where [_Identify] Is Null" end select 或者 Select Case e.DataTableName Case else e.SelectString = "Select * F rom {all} Where [_Identify] Is Null" end select 这个怎么写呢? |
-- 作者:swagger -- 发布时间:2022/7/16 13:05:00 -- 找到了, e.SelectString = "Select * F rom {" & e.DataTableName & "} Where [_Identify] Is Null" |
-- 作者:有点蓝 -- 发布时间:2022/7/16 13:47:00 -- Select Case e.DataTableName Case “表1”,"表2"" \'需要加载的表 Case else \'不需要加载的表 e.SelectString = "Select * F rom {" & e.DataTableName & "} Where [_Identify] Is Null" end select |