以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 如何计算结果 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=76425) |
-- 作者:happysxyxzjy -- 发布时间:2015/10/28 19:24:00 -- 如何计算结果 假如一列命名为计算式,第二列为计算结果,如何能使第二列显示第一列计算式计算的结果 |
-- 作者:大红袍 -- 发布时间:2015/10/28 19:32:00 -- 参考 http://www.foxtable.com/help/topics/1277.htm
|
-- 作者:happysxyxzjy -- 发布时间:2015/10/28 19:39:00 -- 能不能给写的简单具体点,本人是初学者
|
-- 作者:大红袍 -- 发布时间:2015/10/28 19:40:00 -- 编写datacolchanged事件 If e.DataCol.Name = "第一列" Then If e.DataRow.IsNull("第一列") Then e.DataRow("第二列") = Nothing Else e.DataRow("第二列") = Eval2(e.DataRow("第一列"),e.DataRow) End If End If
|