九方:
Dim cnt As IntegerFor Each cl As DataCol In DataTables("表A").datacols cnt = cnt + DataTables("表A").Compute("Count([_identify])", cl.Name & " Is NULL ")NextOutput.Show(cnt)
我用这个可以测试出,空的单元格数量,我这个测试是6个,点了一下没有问题呀