Subject | Re: [IBO] Feature request: ActiveAtConnect |
---|---|
Author | Jason Wharton |
Post date | 2002-01-24T16:33:24Z |
> Please consider the following problems:file,
>
> 1. An application needs to take the GDB name at runtime (from an .INI
> from registry, user entered etc.) and to have an easy way to open theattached
> desired datasets with ease and flexibility.
>
> 2. Any change on the connection details at the design time puts the
> datasets in the Active=False state. We must walk through all dataset toopen
> them again.TIBO)
>
> 3. Any routine which changes the database at runtime (for example changing
> the year in an accounting program) needs to open the datasets again.
>
> An easy way to solve these problems is to add (on both layers T_IB and
> a property named ActiveAtConnect: booleansimple
>
> and to have in the after connect part of the connection's component a
> code (I can send it to you if you want) which will open again the datasetsEasier would be to add a method to the connection to loop through its
> which have the FActiveAtConect=True.
>
> What do you say?
datasets and set them all to active.
I'd prefer to allow you to write that method in your own application for
now.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com