楼主:如a列是数据列,则在表事件中的DATACOLCHANGED 中加入
Select Case e.DataCol.name Case "b","c" If e.DataRow.Isnull("b") OrElse e.DataRow.Isnull("c") e.DataRow("a") =Nothing Else e.DataRow("a") =e.DataRow("b") & ":" & e.DataRow("c") End IfEnd Select
如a是表达式列,则其表达式为
[b] + ':' + [c]