Use the properties and methods of the Session variable. (Look up TSession in the help).
 
example:
var AliasParms:TStringList;
begin
    AliasParms:=TStringList.Create;
    AliasParms.Add('PATH=C:\Windows');
    Session.ModifyAlias('MYALIAS',AliasParms);
   AliasParms.Free
end;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Comb
Sent: Wednesday, 16 December 1998 12:14
To: Multiple recipients of list delphi
Subject: [DUG]: dbalias.

Hi, I used to have some sample code on how to modify an existing database alias from within delphi. In particular I just want to change the path.
 
Any help would be appreciated.
 
Thanks,
 
Matt.

Reply via email to