J jesseyzy Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-22 #1 把access表的内容,倒入到*.txt中,如何做呢? 表有a表,有两个字段,SP,NAME倒入到*.txt中, 字段用,分开, 请教如何做呢?
B bjaman Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-22 #2 好办,执行SQL语句如下: Select SP,NAME Into [Text;Database=' + TempPath + '].temp.txt From a表 其中TempPath指定为你要存储文件的路径,temp.txt为文本文件名
好办,执行SQL语句如下: Select SP,NAME Into [Text;Database=' + TempPath + '].temp.txt From a表 其中TempPath指定为你要存储文件的路径,temp.txt为文本文件名
雾 雾锁长河 Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-22 #3 ADOConnection.Execute('Select * Into [Text;Database=c:/temp].aaaa.txt From aaaa'); 参考帖子 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1691966
ADOConnection.Execute('Select * Into [Text;Database=c:/temp].aaaa.txt From aaaa'); 参考帖子 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1691966