Board index » delphi » Alias

Alias

How to change path for BDE alias  from inside of Delphi 2?

Thanx

--
Peter Jasek

E-mail: ja...@isternet.sk
HomePage: http://www.isternet.sk/jasek

 

Re:Alias


Quote
>How to change path for BDE alias  from inside of Delphi 2?

see the Tsession ModifyAlias method

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Re:Alias


Quote
Peter Jasek wrote:
> How to change path for BDE alias  from inside of Delphi 2?

> Thanx

> --
> Peter Jasek

> E-mail: ja...@isternet.sk
> HomePage: http://www.isternet.sk/jasek

Hi Peter,

I don't know if this will answer your question but:

You can specify an Alias (DatabaseName) as a atring containing
the full path name where your Database Table is located.

For example:

Table1.DatabaseName:='c:\delphi\database';

Now an Alias is just a string;

I hope this helps you,

Frank

Other Threads