Changing/adding DB-Aliases run-time 
Author Message
 Changing/adding DB-Aliases run-time
I am wondering if and how it is possible to add or change an DB-alias.
I like to know this in order to let the user make an new paradox
database and let him choose wich database he likes to use on a late
time.

Thanks

Jochem Wielders



Wed, 18 Jun 1902 08:00:00 GMT
 Changing/adding DB-Aliases run-time

: I am wondering if and how it is possible to add or change an DB-alias.
: I like to know this in order to let the user make an new paradox
: database and let him choose wich database he likes to use on a late
: time.

In Delphi 2.0 and above there are methods for working directly
with BDE aliases -- I believe the method name is AddProjectAlias
or something like that.  In Delphi 1, you need to use a Database
component and change its Path parameter.
--
============================================================

============================================================



Wed, 18 Jun 1902 08:00:00 GMT
 Changing/adding DB-Aliases run-time
Use Session.AddAlias( ) and Session.ModifyAlias( )
Look in Delphi help for TSession.



Quote:
> I am wondering if and how it is possible to add or change an DB-alias.
> I like to know this in order to let the user make an new paradox
> database and let him choose wich database he likes to use on a late
> time.

> Thanks

> Jochem Wielders



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

 Relevant Pages 

1. Adding alias to BDE at run time

2. Add an alias at run-time

3. Changing the location of alias at run-time

4. Change BDE alias in run-time ?

5. Change BDE alias in run-time ?

6. Changing an alias at run-time

7. changing alias in run-time..no effect ?

8. Change path of BDE-alias at run-time

9. Changing and adding fields at run-time

10. D3: how to add an alias in ODBC at runtime

11. Variation on old theme - Adding BDE Aliases at runtime


 
Powered by phpBB® Forum Software