Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:请教下GetUniqueValues

1楼
狐友 发表于:2011/12/2 10:29:00
我想取得,子表的某个字段的集合,该如何取呢,
GetUniqueValues只能用再datatable
子表是table,取出来的数量不正确,多了
Dim Regions As List(Of String) = tbl.DataTable.GetUniqueValues("","管理员") 
[此贴子已经被作者于2011-12-2 10:30:38编辑过]
2楼
狐狸爸爸 发表于:2011/12/2 10:43:00

Dim pr As row = Tables("父表").Current

Dim fl as string  = "子表关联列 = '" & pr("父表关联列") & "'"

Dim Regions As List(Of String) = tbl.DataTable.GetUniqueValues(fl,"管理员")

[此贴子已经被作者于2011-12-2 10:43:38编辑过]
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01953 s, 2 queries.