Connecting to an Excel File

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Mahmood_M
Posts: 20
Joined: Thu 24 Sep 2015 21:18

Connecting to an Excel File

Post by Mahmood_M » Sun 03 Jan 2016 21:11

Hi
I want to connect to an Excel file
I have set Provider property of UniConnection to "ODBC" and Server property to "Excel Files" but there is no option to set Excel File Address

How can I Connect to an Excel File with UniDAC ? is it possible ?

I can do it with ADO but I want to use UniDAC

thanks ...

Mahmood_M
Posts: 20
Joined: Thu 24 Sep 2015 21:18

Re: Connecting to an Excel File

Post by Mahmood_M » Tue 05 Jan 2016 10:45

Any help ?
Is it possible ? or not ?

thanks

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Connecting to an Excel File

Post by AlexP » Fri 18 Mar 2016 13:44

Hello,

You should download and install the ODBC driver for Excel from the official Microsoft website: https://www.microsoft.com/en-us/downloa ... n&id=13255 . Then create a DSN in ODBC Data Source Administrator, select the ODBC provider from the Server drop-down list in UniConnection, and select the created DSN.

Post Reply