Board index » delphi » create a BDE alias at runtime

create a BDE alias at runtime

Hi there,

Is it possible to create a BDE alias at runtime in a delphi program?  I'm sure

I saw this question posted before but didn't look at the answer. :(

Thanks in advance,

Mark

 

Re:create a BDE alias at runtime


Quote
MGB wrote:
> Is it possible to create a BDE alias at runtime in a delphi program?

For a Paradox data base this is something like:

    Session.Close;
    newpath := 'whatever';
    Session.AddStandardAlias('aliasname', newpath, 'Paradox');
    Session.SaveConfigFile; // otherwise only for this session
    Session.Open;

RJ

Re:create a BDE alias at runtime


At the DSP, there are some components for doing it.

Ben

Other Threads