Datadictionary
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
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
--
enlevezmoi_alphomega@free.fr
http://alphomega.free.fr
http://www.codevinfo.com
ICQ 149635116
--
enlevezmoi_alphomega@free.fr
http://alphomega.free.fr
http://www.codevinfo.com
ICQ 149635116
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
http://www.digital-metaphors.com
info@digital-metaphors.com
--
enlevezmoi_alphomega@free.fr
http://alphomega.free.fr
http://www.codevinfo.com
ICQ 149635116
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
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
http://www.digital-metaphors.com
info@digital-metaphors.com