TdaMetaCache.GetFields error
I'm running RB 7 with Delphi 5, and get the following exception:
"TdaMetaCache.GetFields: unable to find table in cache" when
"TdaMetaCache.GetFields: unable to find table
This discussion has been closed.
Comments
- make sure that DataDictionary.UseTableOwnerName is set to false.
- RB internally caches information about the available tables in the
database. If some reports use a different database, that could cause an
error. You can manually clear the meta data cache, see example below.
----------------------------------------
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
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com