ApolloConnection

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloQuery > TApolloQuery Properties >

ApolloConnection

Declaration

property property ApolloConnection: TApolloConnection;

Description

Indicates the TApolloConnection component to connect this TApolloQuery to.

 

For remote tables being accessed via an Apollo Database Server, the TApolloConnection component then identifies the Host IP address and Port number where the Apollo Database Server is running.

 

For local tables being accessed through the Apollo SQL add-in, the TApolloConnection component provides a link to the Apollo SQL .DLL for local processing.

image\tip.gif The TApolloConnection component's Host, Port, and Active properties are not used when connecting to local data via Apollo SQL with TApolloQuery (with AccessMethod set to amLocal).

Delphi Example

ApolloQuery1.ApolloConnection := ApolloConnection1;

C++Builder Example

ApolloQuery1->ApolloConnection = ApolloConnection1;

See Also

TApolloConnection