jonnyfive
asked on
How to extract the server information from the BDE
Hi everyone...
I want to extract some information from a BDE alias. This alias is a "MS SQL - SQL Link". I want to get the server name, database name and user name. I looked at the BDE API help, but couldn't find anything in this direction. Any code example is highly welcome :-]
Thanks, Jonny...
I want to extract some information from a BDE alias. This alias is a "MS SQL - SQL Link". I want to get the server name, database name and user name. I looked at the BDE API help, but couldn't find anything in this direction. Any code example is highly welcome :-]
Thanks, Jonny...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
MyStringList := TStringList.Create;
try
Session.GetAliasParams('DB
{ fill a list box with driver names for the user to select from }
ListBox1.Items := MyStringList;
finally
MyStringList.Free;
end;
Alex