当前表事件datacolchanged
Dim s As String=e.datarow("客户名称")If e.datarow("客户名称") IsNot Nothing Thene.datarow("拼音简码")=getpy(s,True)End If