以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]我想实现增加行时自动将增加行的数据设置为上一行记录如何设置,代码怎么写 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=144683) |
-- 作者:dzy1232016 -- 发布时间:2019/12/27 8:50:00 -- [求助]我想实现增加行时自动将增加行的数据设置为上一行记录如何设置,代码怎么写 我想实现增加行时自动将增加行的数据设置为上一行记录如何设置,代码怎么写,可以写在表的哪个事件里面 |
-- 作者:有点蓝 -- 发布时间:2019/12/27 9:04:00 -- 直接选中最后一行,克隆即可 If Tables("进货表").Rows.Count > 0 Then Tables("进货表").Position = Tables("进货表").Rows.Count - 1 Tables("进货表").Current.Clone End If |
-- 作者:dzy1232016 -- 发布时间:2019/12/27 10:49:00 -- 谢谢要是有linux下的foxtable版就完美了 |