RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxConnection.Open Method

Opens a connection to a database using the connection string parameters.

Pascal
procedure Open; override;
C++
virtual __fastcall Open();

Open opens a connection to a database using the ConnectionString parameters. The ConnectionString property must be set before opening a connection. You must separate keyword value pairs by semicolons (;). Names are not case sensitive. Most applications only need to set the ConnectionName name property, which identifies a collection of properties stored in a dbxconnections.ini file. Alternatively, an application can specify all properties from the dbxconnections.ini and dbxdriver.ini file for the database being connected to. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!