it seems I have another problem with IBX. In my application I use a form
and a datamodule. On the form I placed two DataSources for the master
and detail tables. In the datamodule I placed two IBTables respectively.
I set the MasterSource property properly and started the program. The
master/detail realation was not executed! And more it is not executed in
any combination of component placement on form and datamodule except for
placing all four components on the form! With all DataSources and
IBTables on the form it works!
Does anybody know if this is a requirement? Or a bug? Or did I forgot to
do important things? How will I use the new datamodule features if I
can't place my master/detail components in the datamodule?
Hope anybody can help me.
Stephan
I'm using IBX master/detail all the time in datamodules and I've not seen
your problem.
Perhaps you can send me a litte EMPLOYEE.GDB example hich is not working.
Eric ten Westenend
The Netherlands
Stephan Schmahl heeft geschreven in bericht
<38502038...@project-it.de>...
possibly I hallucinated about this problem?! Maybe after copying the
DataSource from form to datamodule and vice versa the MasterSource property
of the corresponding table was cleared and I forgot to reinit it.
Nonetheless it does definitly not work with the DataSource on the form and
the IBTable on the DataModule!
Some time ago I heard about arranging DataSources and Tables properly.
DataSources on the form, Tables and Queries on the DataModule. Since Delphi 5
this might have changed? To use the new DataModule features all components
should be on the DataModule?
Thanks for your response.
Stephan
Eric ten Westenend schrieb:
--
Mit freundlichen Gruessen
Stephan Schmahl
Software Engineer
project-it
Gesellschaft für Consulting, Projekt- und Informationsmanagement mbH
Stadtamhof 15
93059 Regensburg
Telefon 0941 - 830 36 - 20
Telefax 0941 - 830 36 - 13
Mobil 0171 - 21 830 - 20
stephan...@project-it.de
www.project-it.de
Also of note: if you are dynamically creating the datamod, or the form, you
have to remember to set the datasource's.dataset properties (the ones on the
form) to the datamodule's datasets. (I think Delphi 5 does this for you,
somehow, now, but it's caused me problems such that I can't depend on it).
Hope this helps.
Kevin Burge
Systemware, Inc.