以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  汉字转拼音为啥不行,请高人看看为啥不行  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=159535)

--  作者:chz007
--  发布时间:2020/12/29 17:32:00
--  汉字转拼音为啥不行,请高人看看为啥不行
汉字转拼音为啥不行,请高人看看为啥不行
在DataColchanged
If e.DataCol.Name = "物料名称" Then     \'指定字段
    If e.NewValue > "" Then
        e.DataRow("拼音辅助码") = py.GetPY(e.NewValue,3)
        e.DataRow("拼音辅助码")= Nothing
    End If
End If

--  作者:有点蓝
--  发布时间:2020/12/29 17:41:00
--  
If e.DataCol.Name = "物料名称" Then     \'指定字段
    If e.NewValue > "" Then
        e.DataRow("拼音辅助码") = py.GetPY(e.NewValue,3)
else
        e.DataRow("拼音辅助码")= Nothing
    End If
End If