以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  统计提取的某列不重复值数量  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=142259)

--  作者:Jaime
--  发布时间:2019/10/22 11:45:00
--  统计提取的某列不重复值数量
老师好! 我希望统计后台表中某列不重复值的数量,下面代码测试不对,请问应该如何改?

Dim Customers As List(Of String)
Customers = DataTables("行政区域").SQLGetValues("省")
For Each Customer As String In Customers
    Output.Show(Count.Customers)
Next
[此贴子已经被作者于2019/10/22 11:45:33编辑过]

--  作者:有点蓝
--  发布时间:2019/10/22 12:04:00
--  
Dim Customers As List(Of String)
Customers = DataTables("行政区域").SQLGetValues("省")
Output.Show(Customers.Count)