TAdsDataSet.GetDatabasePath

Advantage TDataSet Descendant

  This is the first topic This is the last topic  

TAdsTable TAdsQuery TAdsStoredProc

 

Retrieves the path the TAdsDataSet instance is using.

Syntax

function GetDatabasePath : String;

Description

GetDatabasePath will return the path the TAdsDataSet instance is using, regardless of what method has been used to assign the databasename property.

If the TAdsDataSet instance is using an alias, the alias path will be returned. If the TAdsDataSet is using a simple path in the databasename property, that path will be returned. If the TAdsDataSet instance is using a TAdsConnection, the TAdsConnection path will be returned, etc.

See Also

DatabaseName