-- 作者:scott518
-- 发布时间:2014/6/27 10:48:00
-- 双击选择数据后关闭模式窗口出错
此主题相关图片如下:360截图20140626232838114.jpg

此主题相关图片如下:360截图20140626232838114-2.jpg

如上两图,因为在菜单中加了个通用的显示合计模式的按钮,当表中有显示合计行时,双击表中行的代码如下:
If e.Row.IsNull("姓名") = False Then Dim r As Row = Tables(MyTable).Current r(Dcol) = e.Row("姓名") End If e.Table.GrandTotal = False Forms("员工单选窗口").Close
如果没有红色那句代码,关闭窗口时就会出错,请问是什么原因?
谢谢!
|