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

DataDictionary generation in runtime

edited May 2004 in End User
Hi,

We are using RB 6.02. I'm trying to get the datadictionary at work. I quote
from the manualnotes.

'9. Add the following event handler
CreateDataDictionaryRecords(ppDataDyctionary1)
10. Add the following in the implementation section
uses
rbPopDD;
This code makes the CreateDataDictionryRecords procedure visible.... '

Problem is i don't find that unit, I need a way to generate the
datadictionary in runtime because we have bilingual field/table aliases.
Aliases are defined in a seperate table per language. I just need a way to
generate the datadictionary records in the appropriate language in runtime
(When changing language from within the app)

Thx,
Filip Moons

Comments

  • edited May 2004

    To display the datadictionary builder at runtime, download the following
    example:

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


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2004
    I don't want to display datadictionary builder form at runtime, i just need
    to know how to generate the DataDictionary records (aka the missing event
    handler 'CreateDataDictionaryRecords(ppDataDyctionary)')at runtime

  • edited May 2004

    Try checking out the code in daDataDictionaryBuilder.pas.

    I checked the Developers Guide for ReportBuilder 7 but could not find the
    text that you are quoting. Is that text located in a tutorial?


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2004
    Yeh its in the reportbuilder developer's guide (Manual) page 389 section
    'Adding DataDictionary Support to the End-User Application', no version
    mentioned though.

  • edited May 2004

    You must have a very old version of the Developers Guide. I looked thru the
    second and third editions and could find no reference to that code.


    --

    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.