Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]

1楼
cjong126 发表于:2011/7/13 12:51:00

If e.DataCol.Name = "仓库名称" Then '如果更改的是仓库名称列
    If e.DataRow.IsNull("仓库名称") Then '仓库名称是否为空
        e.DataRow("仓库简称") = Nothing '如果为空,则清除仓库简称
    Else
        '否则从仓库名称列中提取拼音简称
        e.DataRow("仓库简称") = e.DataRow(GetPY("仓库名称", True))

    End If
End If

输入内容提示column does ‘CKMC' not belong to table 仓库

 

2楼
czy 发表于:2011/7/13 13:02:00
If e.DataCol.Name = "仓库名称" Then '如果更改的是仓库名称列
    If e.DataRow.IsNull("仓库名称") Then '仓库名称是否为空
        e.DataRow("仓库简称") = Nothing '如果为空,则清除仓库简称
    Else
        '否则从仓库名称列中提取拼音简称
        e.DataRow("仓库简称") = GetPY(e.DataRow("仓库名称"), True)
    End If
End If
3楼
cjong126 发表于:2011/7/13 14:37:00

谢谢

共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.