Board index » delphi » Using tdatabase for changing BDE Alias

Using tdatabase for changing BDE Alias

I would like to open a form before my system starts and and let the user
pick a set of database to run the system against.  The problem I have is
when i set connected to False then change the alias and set connected back
to true none of the tables open automatically.  Should they?  If not is
there an easier way than just going throught each table and open them
again?

Thanks.
Terry Payne

 

Re:Using tdatabase for changing BDE Alias


On 15/09/1996 06:30, in message <01bba2bc$d2eb2dc0$4990fecc@tkpayne>, "Terry

Quote
Payne" <tpa...@arn.net> wrote:
> to true none of the tables open automatically.  Should they?  If not is
> there an easier way than just going throught each table and open them
> again?

Terry,

can you not use the Database.Open and assign a dummy event to a button, so that
the user first has to press OK to open the database, and so susequently the
tables as well?

Stefan

Other Threads