错在导出条件了,不能使用当前行,只能是以列名做为选择条件,或是先筛选再导出
[此贴子已经被作者于2009-6-15 11:52:46编辑过]
Dim ex as New Exporter
Dim bh as string = Tables("a2009").current("编号")
ex.SourceTableName = "a2009"
ex.filepath = projectpath & "2009.mdb"
ex.NewTableName = "数据"
ex.Filter = "[编号]= '" & bh & "'"
ex.Export()
[此贴子已经被作者于2009-6-15 15:11:45编辑过]