rbWiki > DADE > MetaData > How To...Use the DataDictionary Builder at Run-Time

How To...Use the DataDictionary Builder at Run-Time

Table of contents
  1. 1. Question 
  2. 2. Solution

Question 

"Is is possible to use the DataDictionary Builder at run-time?" 

Solution

The following example shows how to create the DataDictionary Builder via code.

Download: DataDictionaryBuilderAtRunTime.zip

Delphi code sample: 

uses
  daDataDictionaryBuilder;


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

  lForm := TdaDataDictionaryBuilderForm.Create(Application);

  lForm.DataDictionary := ppDataDictionary1;

  if lForm.ValidSettings then
    lForm.Show
  else
    stbStatus.SimpleText := lForm.ErrorMessage;

end;
Tags
none

Files (0)

 
You must login to post a comment.