以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- col不是tabel的成员问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=57063) |
-- 作者:xiaoyongxg2 -- 发布时间:2014/9/17 15:19:00 -- col不是tabel的成员问题 编译错误col不是table的成员? If Tables("成绩单").Col.Name = "姓名" Then 应该怎么写,请老师指点。
|
-- 作者:xiaoyongxg2 -- 发布时间:2014/9/17 15:30:00 -- 甜老师? |
-- 作者:有点甜 -- 发布时间:2014/9/17 15:33:00 -- 你想做什么,写什么?
|
-- 作者:xiaoyongxg2 -- 发布时间:2014/9/17 15:39:00 -- If Tables("中国医药有限公司").DataCol.name= ("公司名称") Then If e.NewValue Is Nothing Then e.DataRow("商业所属省区") = Nothing Else Dim dr As DataRow dr = DataTables("大区省区匹配").Find("[大区] = \'" & e.NewValue & "\'") If dr IsNot Nothing Then e.DataRow("商业所属省区") = dr("大区") End If End If
|
-- 作者:有点甜 -- 发布时间:2014/9/17 15:51:00 --
If e.DataCol.name= "公司名称" Then |
-- 作者:xiaoyongxg2 -- 发布时间:2014/9/17 15:59:00 -- 那如果两张表里都有名为“公司名称”的列,那不乱了吗 |
-- 作者:有点甜 -- 发布时间:2014/9/17 16:00:00 -- 我不理解你想干什么 |