The DataDictionary is primarily meant to be used at design-time before your application is deployed. It is however possible to populate the dictionary tables at runtime using the various TppDataDictionary routines described in the help topic. See the help topic for the TppDataDictionary object for more information on this.
Note that once you update the dictionary tables at runtime, you will most likely need to clear the metadata cache to see any effects.
---------------------------------------- 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.
Comments
The DataDictionary is primarily meant to be used at design-time before your
application is deployed. It is however possible to populate the dictionary
tables at runtime using the various TppDataDictionary routines described in
the help topic. See the help topic for the TppDataDictionary object for
more information on this.
Note that once you update the dictionary tables at runtime, you will most
likely need to clear the metadata cache to see any effects.
----------------------------------------
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;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com