如果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.