用getValues http://www.foxtable.com/help/topics/2747.htm
msgbox(DataTables("表A").GetValues("第一列").count)