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

DataDictionary on run-time

edited March 2004 in End User
There is (or was) a Tech tip that shows how to implement an app that allows
the user to update datadictionary in run time instead of design time. I
changed my machine and now my Outlook Express doesn't show it and I don't
want to fight with it (I'm Lotus Notes user for e-mail)

Can somebody point me to a .zip or something similar?

Thanks in advance

Eduardo Martinez

Comments

  • edited March 2004
    Here are some instructions posted some time back. You have to clear
    the dictionary cache.

    uses
    daMetaDataManager;

    gMetaDataManager.Clear;


    This didn't quite work for me, until I saw another post suggesting to
    close and re-open the table/field datasets and pipelines.

    So after programmatically changing the underlying tables or views for
    the dictionary:

    tblTable.Close;
    tblField.Close;
    plTable.Close;
    plField.Close;
    gMetaDataManager.Clear;

    then re-open the components closed before creating the cache and you
    should be all set.

    --
    Bob McClintock



  • edited March 2004
    -------------------------------------------------------
    Tech Tip: Using the DataDictionary Builder at Run-time
    -------------------------------------------------------

    Is it possible to run the DataDictionary Builder at run-time?

    Example:


    uses
    daDataDictionaryBuilder;


    procedure TForm1.Button1Click(Sender: TObject);
    var
    lForm: TdaDataDictionaryBuilderForm;

    begin
    lForm := TdaDataDictionaryBuilderForm.Create(Application);
    lForm.DataDictionary := ppDataDictionary1;

    if lForm.ValidSettings then
    lForm.ShowModal
    else
    ShowMessage(lForm.ErrorMessage);

    lForm.Free;
    end;


    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com

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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2004
    Thanks a lot to both!!

    Best regards

    Eduardo Martinez
This discussion has been closed.