Subject | RE: [IBO] Schema Cache |
---|---|
Author | Ales Kahanek |
Post date | 2002-08-02T06:27:17Z |
I do not understand, why my SchemaCache.TableNames is empty. The connection
is OK, database contains tables. Any other hint?
Ales
is OK, database contains tables. Any other hint?
Ales
> -----Original Message-----
> From: Paul Vinkenoog [mailto:paulvink@...]
> Sent: Thursday, August 01, 2002 4:36 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Schema Cache
>
>
> Hi Ales,
>
> > I would like to use TIB_Connection.SchemaCache.TableNames property,
> > but when I want to read it in my code, I always receive an empty
> > StringList.
> > What properties should I set up to work it properly? The only
> > property I set up was TIB_Connection.SchemaCacheDir to existing
> > local directory.
>
> No setting up should be necessary. But you have to connect first and
> then retrieve the table names. And of course the database you are
> connected to must contain tables.
>
> Setting SchemaCacheDir is optional; it sets up a local metadata cache,
> which is helpful in case of slow connections.
>
> Greetings,
> Paul Vinkenoog
>
> (was just setting up some SchemaCache viewing stuff when this message
> came in...)
>