daMetaData Cache
Hi There,
I have a situation where if I run a report form one machine it gives me an
error
TdaMetaData.GetFieldsFromDataSet: Unable to open dataset.
the same report works from another machine.
Can I clear the metadata cache but I want to know where is Metadata cache is
stored?
Regards
Toshan
I have a situation where if I run a report form one machine it gives me an
error
TdaMetaData.GetFieldsFromDataSet: Unable to open dataset.
the same report works from another machine.
Can I clear the metadata cache but I want to know where is Metadata cache is
stored?
Regards
Toshan
This discussion has been closed.
Comments
The meta data cache is an in memory cache of the available database tables
and fields. This is done to speed performance.
When a new report is created, the Designer.DataSettings are used to define
the database connection information. The DataSettings are saved as part of
the query definition - they are used when the report is loaded. The
Designer.DataSettings.DatabaseName should reference a Database Connection
object (ADOConnection if using ADO)
----------------------------------------
Tech Tip: Clearing the Meta Data Cache
----------------------------------------
There is a global meta data cache that the ReportBuilder uses to cache
information about the available database tables and fields. You can clear
the meta data cache using the following code.
uses
daMetaDataManager;
begin
gMetaDataManager.Clear;
end;
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com