Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Data Dictionary Question - Do all Tables have to be There?

edited March 2004 in General
My program gives the user the ability to create his own Tables and Fields.

Is there a option that tells the system to display the records in the Data
Dictionary As well as other missing records?

EG if I only define information for 1/2 the tables in the Database, cant the
rest appear anyway?
Thanks,

Daniel

Comments

  • edited March 2004
    Hi Daniel,

    The DataDictionary was unfortunately not designed to be configured at
    runtime but I think it should be possible.

    First you will need to update the Tables and Fields datatables by either
    setting their values manually as new tables and fields get created or by
    using some of the DataDictionary methods used at design time when generating
    the tables and fields. Once you do this you will need to clear the Meta
    Data Cache so the report will reflect the changes. See the article below
    for help with this...

    ----------------------------------------
    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;

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.