WoodyJ007
asked on
ADO Connection String
Hi Guys,
Any idea how I launch the connection string dialogue through code and recieve the connection string.
{
In the ADOConnection component clicking the ... button next to the connectionstring property causes a connection string dialogue with a BUILD button that lets you build your connection string
}
I need to be able to launch that dialogue though code.
Many Thanks
John.
Any idea how I launch the connection string dialogue through code and recieve the connection string.
{
In the ADOConnection component clicking the ... button next to the connectionstring property causes a connection string dialogue with a BUILD button that lets you build your connection string
}
I need to be able to launch that dialogue though code.
Many Thanks
John.
ASKER
I want to show the dialog. With the ConnectionString Dialogue you can choose many different types of connection.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thats great.
Thanks
Woody.
Thanks
Woody.
I don't know if i understand you well, but if you want to set the connectionstrings from code, this code, will connect to access database the file on the c:\
procedure TForm1.Button1Click(Sender
begin
ADOTable1.ConnectionString
ADoTable1.TableName := 'Users';
ADOTable1.Active := True;
end;