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

Datadictionary

edited October 2002 in General
Hi,

I work with IBExpress on an IB database with delphi 6

1 datamodule A with TIBDatabase (name IBBaseData) pointing on
C:\Monrep\datas\Mydatas.gdb
1 datamodule B with components to create enduser reports.

If I put a tdatadictionnary on B, and I want to generate the fields,
RBuilder "say me":
Impossible to open database C:\Monrep\datas\IBDatabase

If I put the TIBDatabase on the datamodule B (same for components rbuilder),
all work.

Is it a known problem ??

--
enlevezmoi_alphomega@free.fr
http://alphomega.free.fr
http://www.codevinfo.com
ICQ 149635116

Comments

  • edited October 2002
    Sounds like you have a data access configuration problem. I tested our
    BDE/Paradox demo and IBX/IB demo as follows:

    Opened our IBX end user demo project.

    Created a new datamodule and moved the data dictionary to the new
    datamodule.

    Added the main form as a used unit by the datamodule so I could see the
    components in the form for data access.

    Connected the table, field and join pipelines to the data dictionary.

    Launched the data dictionary builder.

    The data dictionary ran perfectly.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited October 2002
    I'll try this.

    But I don't understand the following problem:

    In explorer object, when I want to choose Databasename for ppDataDictionary,
    I see in the list the name
    IBBaseData , like if the TIBDatabase was on the same datamodule.

    since the TIBDatabase component is on the datamodule DatmodBase (other
    datamodule), why the list does not propose DatModBase.IBBaseData rather than
    only IBDatabase , like for other components ? Is it normal ?

    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116
  • edited October 2002
    yes, your code work well.

    Now, try this:

    rather than move the datadictionary on datamodule, move the ibdatabase and
    ibtransaction.
    and try to use the datadictionary on the myendusersolution form ... It
    doesn't work

    I add a screenshot in the next post

    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116
  • edited October 2002


    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116
  • edited October 2002
    :-)

    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116
  • edited October 2002
    I opened the end user IBX demo and placed the database and transaction
    components on a new datamodule. Then connected the TIBTable up to the
    datamodule's database and made sure those could be activated. Then checked
    the data settings in the designer component. It does show the DatabaseName,
    not Datamodule.DatabaseName as for the data access components on the form.
    I ran it and it worked fine. Can you reconfigure our end user IBX demo so
    that is fails to open the database and send it to
    support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited October 2002
    it's done !! :-)

    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116

  • edited October 2002
    All the tables can be opened, as the database.
    But when I double-click on datadictionary, I get login dialogbox to log on
    database.
    I write SYSDBA and masterkey, but the dialogbox appear again.
    If I click on generate (tab tables), the the dialogbox appear again two
    times, and I get an error message.
    unable to open ... etc ...

    --
    enlevezmoi_alphomega@free.fr
    http://alphomega.free.fr
    http://www.codevinfo.com
    ICQ 149635116
  • edited October 2002
    I get the same behavior. What you need to do is to generate the data
    dictionary at Delphi design time by placing the database and transaction on
    the same form as the data dictionary component. Use this to build the
    entries. Once you've built the entries you can move the components to the
    datamodule if you would like. This shoudl work correctly. We'll continue
    to research why it can't find the datamodule's database when launching the
    data dictionary builder.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.