获得外部表的名称,这里有:
http://www.foxtable.com/help/topics/1943.htm
既然能获得外部表的名称,就:
Dim cmd As New SQLCommand
Dim dt As DataTable
Dim cmb As WinForm.ComboBox
cmd.CommandText = "SELECT * From {表名} Where [_Identify] Is Null"
Cmd.Connection Name = "数据源名称"
dt = cmd.ExecuteReader()
for each dc in dt.DataCols
output.show(dc.name)
next
[此贴子已经被作者于2012-3-12 8:09:12编辑过]