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

Datadictionary at runtime

edited January 2004 in End User
Hi!

I have problem with DataDIctionary on runtime.
I have implemented "Tech Tip: Using the DataDictionary Builder at Run-time"
in my application. When I fill some values in form (created like in
mentioned tip) all seems OK.
But when I tried to use that new table and some new fields (previously
added) they are not in list.
So, I closed app and reopen it but still there is no new table in query
designer. I have checked rbTable as well as rbField and the entries are in!
When I recompile app then these entries become available.
What to do to make them available at run time (without recompiling)? What am
I doing wrong ?
THX
Benjamin

The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....

Comments

  • edited January 2004

    Try

    1. Closing the datasets and datapipelines after you use the data dictionary

    2. Clearing the meta data manager:

    uses
    daMetaDataManager;
    begin

    gMetaDataManager.Clear;

    end;

    3. Reopenign the datasets and datapipelines prior to using the query tools.





    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2004
    THX works!

This discussion has been closed.