在delphi中将txt文档导入到access中,字段对齐,多谢!(200)

  • 主题发起人 peoplexiao
  • 开始时间
P

peoplexiao

Unregistered / Unconfirmed
GUEST, unregistred user!
如何在delphi中将txt文档导入到access中,不要使用Select * Into abc From [Text;Database=c:/temp].tax.txt 这样导入进去没有对齐字段,是否可以导入到ACCESS表中对应的字段中去,多谢!
 
如果txt结构比较简单,那就自己写代码分析文本,然后写入到Access表中即可。如果复杂一些,那可以直接使用第三方控件,如 EMS Advanced Data Import VCLAdvanced Data Import VCL is a component suite for Borland Delphi and C++ Builder that allows you to import data from files of the most popular data formats to the database. You can import data from MS Excel, MS Access, DBF, XML, TXT, CSV, ODF and HTML. There will be no need to waste your time on tiresome data conversion - Advanced Data Import will do the task quickly, irrespective of the source data format.
 
下载了的没办法用,有没有下载网址,多谢!
 
EMS Advanced Data Import VCL 已经安装进去了,
 
用SCHEMA.INI文件
 
可以采用两个SQL打开,然后将一边的数据写到另一边的数据集里即可。
 
想找私人编写一个小软件(有偿)数据输入后自动统计分析的。有这方面的高手请直接与本人联系。QQ:253897218 电话:13556880568 胡生
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
1K
DelphiTeacher的专栏
D
顶部