Reading Path to an Alias 
Author Message
 Reading Path to an Alias
Is there any way from within a Delphi program to read the path to an Alias?

--
Jim Voelker



Wed, 18 Jun 1902 08:00:00 GMT
 Reading Path to an Alias

DbiGetDirectory

Paul / ColumbuSoft
www.columbusoft.com


Quote:
> Is there any way from within a Delphi program to read the path to an
Alias?

> --
> Jim Voelker



Wed, 18 Jun 1902 08:00:00 GMT
 Reading Path to an Alias


Quote:
> Is there any way from within a Delphi program to read the path to an

Alias?

function PathOfAlias (Sess : tSession; Alias : string) : string;

var    sl : tStringList;

begin
result := '';
sl := tStringList.Create;
try
    Sess.GetAliasParameters (Alias, sl);
    result := sl.Values ['PATH'];
finally
    sl.Free;
    end;
end;

Quote:

> --
> Jim Voelker



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Reading the database path from the BDE Aliases

2. aliases path at run time

3. Help needed.......creating aliases for database paths??????

4. How to get the path from an alias

5. how to get BDE Alias path

6. BDEAdmin refuses to Edit Alias-PATh!

7. Dynamic Table Creation causes Alias Path Error

8. Alias Path?

9. Finding the path for an alias

10. How to use aliases in a search paths

11. Retrieve Alias Path?

12. Extracting path from BDE alias or database?


 
Powered by phpBB® Forum Software