Microsoft Access Text ODBC Driver on Windows 7

后端 未结 7 909
孤城傲影
孤城傲影 2021-02-10 23:14

I created a Delphi application which utilizes an ODBC data source to access text files in csv format. The driver is the \"Microsoft Access Text Driver\". But when I deploy my

相关标签:
7条回答
  • 2021-02-10 23:36

    I believe you'll need to install this package to get the text driver (among others).

    0 讨论(0)
  • 2021-02-10 23:37

    Project JEDI has an open source TJvCSVDataSet

    0 讨论(0)
  • 2021-02-10 23:40

    You have to run the ODBC Administrator from this location:

    C:\Windows\SysWOW64\odbcad32.exe

    then you will see all the x32 drivers

    0 讨论(0)
  • 2021-02-10 23:43

    You might have to install the Microsoft Jet driver. I believe that Microsoft broke it out of MDAC awhile back, and it is no longer be installed by default.

    EDIT After further research it appears that they have removed the text file drivers from the jet engine entirely. You can still use the Microsoft ODBC DB Provider for ODBC Drivers to access dBase and Excel files, but no longer text files.

    0 讨论(0)
  • 2021-02-10 23:43

    Here's a CSV demo that doesn't require you to install any components or write any parsing code. If you can call my class .Create method, you can use this code without installing anything.

    It uses two unit files that implement the JvCsvDataSet component, which is still a class, which can be instantiated the same way you can create a TStringList, you just create a TJvCsvDatSet.

    0 讨论(0)
  • 2021-02-10 23:44

    I found I could access the Microsoft text Driver if my application is compiled targeting x86 cpus.

    0 讨论(0)
提交回复
热议问题