Using Microsoft udl files in connection's connection string

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
johnhutchings
Posts: 1
Joined: Tue 14 Mar 2006 20:04

Using Microsoft udl files in connection's connection string

Post by johnhutchings » Tue 14 Mar 2006 20:10

I have been using the UDL files with my ADO connection and the format "FILE NAME=MyUDL.UDL in the connection string. When the connection is activated the FILE NAME is resolved and the udl file used to define the connection.

I want to port to SDAC.

I do not seem to be able to use the FILE NAME= syntax. with the SDAC Connection I have tried extracting the string directly from the udl but this also fails.

Do you have a recommendation for porting from ADO to SDAC??

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 15 Mar 2006 14:21

Thank you for information.
We reproduced the problem. It appears only only if one ADOConnection (without ADOQuery, ADOTable etc) is present on the form. It will be fixed in the next version.

Post Reply