Subject | RE: [IBO] Schema Cache |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-08-02T10:20:35Z |
At 10:58 AM 02-08-02 +0200, you wrote:
doesn't do that...so, either create the directory as part of your
deployment process or have your app create it if it doesn't exist...and
don't assume a "current directory" - put the entire local path into the
SchemaCacheDir property.
As soon as you do that, IBO will automatically create the local cache files
the next time you connect; and update them each time you connect after
that. They are simple ascii files with the suffix ".IBO". Amongst these
files are two called TableFields.IBO and TableKeys.IBO. The SchemaCache
functions know what to do with the data in these files in order to extract
your TableNames into a stringlist.
Does this help?
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Helen,You need to create the local directory - the IB_Connection component
>I do not see any files - the directory is not even created. I stated the
>full path in the SchemaCacheDir property. Should I state only the dir name?
>Is the SchemaCacheDir required for SchemaCache properly working? The only
>thing I need is to retrieve the table names.
doesn't do that...so, either create the directory as part of your
deployment process or have your app create it if it doesn't exist...and
don't assume a "current directory" - put the entire local path into the
SchemaCacheDir property.
As soon as you do that, IBO will automatically create the local cache files
the next time you connect; and update them each time you connect after
that. They are simple ascii files with the suffix ".IBO". Amongst these
files are two called TableFields.IBO and TableKeys.IBO. The SchemaCache
functions know what to do with the data in these files in order to extract
your TableNames into a stringlist.
Does this help?
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com