设置DataColChnged代码:
if e.Datacol.name = “包装规格" Then
if e.DataRow.IsNull("包装规格") then
e.Datarow("立方数") = Nothing
else
e.DataRow("立方数") = Eval(e.Datarow(“包装规格"))
end if
End If
建议看看:
http://www.foxtable.com/help/topics/1277.htm