如代码
Dim t as table = tables("表A")Dim n As Integer = t.DataTable.GetValues("第一列", t.filter).countmsgbox(n)
http://www.foxtable.com/webhelp/scr/2747.htm