Example about Configuring TIBCConnection and TIBCQuery

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
americasoft
Posts: 2
Joined: Thu 02 Jun 2011 14:00

Example about Configuring TIBCConnection and TIBCQuery

Post by americasoft » Wed 24 Aug 2011 20:37

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

AndreyZ

Post by AndreyZ » Fri 26 Aug 2011 15:33

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;

Post Reply