以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何选订当前表的行  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=43860)

--  作者:ap9709130
--  发布时间:2013/12/17 16:32:00
--  如何选订当前表的行

我的表在窗口中是做为副本的,我想选定当前这个表的行,代码如下:

 

Dim tr as row in currenttable("订单明细_tables1").rows

 

 这样怎么出错了?


--  作者:Bin
--  发布时间:2013/12/17 16:33:00
--  
当前表是 currenttable

for each tr as row in currenttable.rows

next

--  作者:狐狸爸爸
--  发布时间:2013/12/17 16:37:00
--  

指定表就是:

 

For each r As  row in tables("订单明细_tables1").rows

 

Next

 

语法混乱,建议先系统学习帮助