Change BDE alias in run-time ? 
Author Message
 Change BDE alias in run-time ?

Quote:

> How to change BDE alias in run-time ?
> I mean change the directory is assigned.

procedure NewDir(NewDir:String)
begin
 Database.Close;
 Database.Params.Values["PATH"] := NewDir;
 Database.OPen;
end;


Sat, 14 Nov 1998 03:00:00 GMT
 Change BDE alias in run-time ?

The other question, of course, is why?  Since you can set up a temporary
alias by defining a TDatabase component, hook all tables, etc up to that,
and change where it points in one line of code, you don't need to mess
with changing BDE alias connections very often...



Sun, 15 Nov 1998 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

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

2. Change BDE alias in run-time ?

3. Adding alias to BDE at run time

4. Help: Change Alias in BDE at runtime with Delphi 1.0

5. Changing/adding DB-Aliases run-time

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

7. Changing an alias at run-time

8. Changing the location of alias at run-time

9. Changing the alias for an application that uses the BDE

10. changing BDE Aliases in distribution

11. Using tdatabase for changing BDE Alias

12. BDE - Add Alias at Runtime???


 
Powered by phpBB® Forum Software