帮助说,getUniqueValuse已经被GetValues取代,为什么第一段代码不执行错误
.NET Framework 版本:2.0.50727.8009
Foxtable 版本:2016.3.11.1
错误所在事件:窗口,词典,导入值,Click
详细错误信息:
筛选表达式“学历”的计算结果不是布尔值项。
Dim pg As WinForm.TabControl = e.Form.Controls("页签")
Dim s As String = pg.SelectedPage.text
Dim sts As List(of String) = DataTables("员工资料").GetValues("",s)
For i As Integer = 0 To sts.Count-1
Dim r As Row = Tables("词典").AddNew
r("类别") =s
r("名称") = sts(i)
Next
第二段
'Dim pg As WinForm.TabControl = e.Form.Controls("页签")
'Dim s As String = pg.SelectedPage.Text
'Dim sts As List(of String) = DataTables("员工资料").GetUniqueValues("",s)
'For i As Integer = 0 To sts.Count-1
'Dim r As Row = Tables("词典").AddNew
'r("类别")=s
'r("名称") = sts(i)
'Next