以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 复选框返回后第一行空,需要实现不留空行 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=185572) |
-- 作者:yangze531 -- 发布时间:2023/3/2 15:36:00 -- 复选框返回后第一行空,需要实现不留空行 For Each r1 As Row In Tables("选取物料窗口_物料信息表").GetCheckedRows Dim r2 As Row = Tables("订单明细表").AddNew r2("物料编号") = r1("编码") r2("物料名称") = r1("物料名称") r2("规格型号") = r1("规格") Next e.Form.Close |
-- 作者:有点蓝 -- 发布时间:2023/3/2 15:45:00 -- Dim rs As List(of Row) =Tables("选取物料窗口_物料信息表").GetCheckedRows dim r2 as row = Tables("订单明细表").current dim r1 as row =rs(0) r2("物料编号") = r1("编码") r2("物料名称") = r1("物料名称") r2("规格型号") = r1("规格") For i as integer = 1 to rs.count - 1 r1 = rs(i) r2 = Tables("订单明细表").AddNew r2("物料编号") = r1("编码") r2("物料名称") = r1("物料名称") r2("规格型号") = r1("规格") Next e.Form.Close |
-- 作者:yangze531 -- 发布时间:2023/3/2 16:10:00 -- 谢谢 |