dim cnt as Integer = DataTables("表A").Compute("Count([_Identify])", "B = ‘C’")
messagebox.show("有" & cnt & “个”)
参考:
http://www.foxtable.com/help/topics/0393.htm