DataPathAlias

<< Click to Display Table of Contents >>

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

DataPathAlias

Declaration

property DataPath: String;

Description

Used in conjunction with the DataPath property, the DataPathAlias property specifies an alias for this physical directory (e.g.: MYDATA). This alias name could then be used in a TApolloTable.DatabaseName property.

 

This is similar in use to the standard Delphi / C++Builder TDatabase.DatabaseName property.

Delphi Example

ApolloDatabase1.DataPath := 'c:\Apollo\Data;

ApolloDatabase1.DataPathAlias := 'MYDATA';

// Point it to 'c:\Apollo\data'

ApolloTable1.DatabaseName := 'MYDATA';

 

See Also

DataPath