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

Use Data Dictionary

edited May 2002 in General
Hello,

Is there any way to determine if a report has been created with a data
dictionary?

We have an end-user report application that allows the user to use or not
use the data dictionary we supply. We're getting tdaMetaCache.GetFields
errors either before or after the autosearch dialog create event. We've
tracked the problem down to reports that were created without using the data
dictionary and use tables not included in the data dictionary. (Maybe we
just need to expand the data dictionary!)

Thanks for your help

Mitch Mullins
SaltCreek Software Inc.

Comments

  • edited May 2002
    There is not way to check whether the report was generated with a data
    dictionary. You can try clearing the metadat cache as shown 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
    daMetaData;

    begin
    gMetaData.Clear;

    end;

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    I ended up setting the designer's dataSetting.UseDataDictionary property to
    false for previewing and printing reports. This setting works for reports
    created with or without the data dictionary. I set the UseDataDictionary
    propery to true when designing reports to make the data dictionary
    available.

    Thanks for your help.

    Mitch

    not
    we
This discussion has been closed.