Page 1 of 1

Example about Configuring TIBCConnection and TIBCQuery

Posted: Wed 24 Aug 2011 20:37
by americasoft
Hi There,

I am having some problems with IBDAC in my application. I Know that these problems are my fault.

So, I would like that we can do an example and avaiable this example to the community in this forum.

Who is with me?

Regards

Posted: Fri 26 Aug 2011 15:33
by AndreyZ
Hello,

Please specify the exact problems you encounter with IBDAC and we will try to help you.
Here is a small example that demonstrates configuring the TIBCConnection and TIBCQuery components:

Code: Select all

IBCConnection.ClientLibrary := 'clientlibrary';
IBCConnection.Server := 'server';
IBCConnection.Database := 'database';
IBCConnection.Username := 'username';
IBCConnection.Password := 'password';
IBCConnection.LoginPrompt := False;
IBCQuery.Connection := IBCConnection;
IBCQuery.SQL.Text := 'select * from table';
IBCQuery.Open;