Specifying options for provider at run time

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

Specifying options for provider at run time

Post by sandy771 » Wed 01 Jun 2011 21:28

I am using Embarcadero C++ and programmatically creating a a TUniConnection, how do a I specify a provider (sqlite) option such as UseUnicode = true

sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

Post by sandy771 » Thu 02 Jun 2011 08:31

I have found it
UniConnection1->SpecificOptions->Add()

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

Post by AlexP » Thu 02 Jun 2011 08:46

Hello,

Also you can set options in the following way:

Code: Select all

UniConnection1->SpecificOptions->Values["Option_Name"] = "Value";

Post Reply