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

Data Dictionary Sync

edited February 2007 in General
When using the Data Dictionary component during design, there are methods to
"generate" and "syncronize". Are there methods in code to use at runtime,
or do you need to use the AppendTableRecord and AppendFieldRecord methods?

Thank You

Comments

  • edited February 2007
    Additional question for this thread. If there is no sync method that can be
    called at runtime, how do you remove tables and fields?

    Thank you.

  • edited February 2007
    Hi Andy,

    Unfortunately there is no built in way to syncronize or generate all the
    fields and tables automatically at runtime. As a workaround, take a look at
    the example below on how to show the DataDictionary dialog at runtime. Then
    take a look at the TdaDDFieldPage.SynchronizeItems and
    TdaDDTablePage.SynchronizeItems methods. This is the code ReportBuilder
    uses in the DataDictionary Builder to syncronize the fields and tables and
    may help get you on the right track.

    www.digital-metaphors.com/tips/DataDictionaryBuilderAtRunTime.zip

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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