I'm puzzled (but I'm not a guru) with this.
I want to insert data into two tables through two TQuery in
a Client/server application. Both tables are related in a
master/detail relationship with a field (NH) that is the
primary key in the master table. The detail table has
another primary key (NI).
I've built a form divided into two moities with data-aware
controls for fields from both Tquery. In the OnCreateForm
procedure I start a explicit transaction, and prepare, open
and insert on both TQuery.
The problem is that the controls which have to be aware of
the fields of the first TQuery do it OK, but not the others.
And I know that the record in the second TQuery is inserted
and in dsInsert mode, because I can assign values to this
record through code, but not through the data-aware
controls.
Can anybody help me?
Thanks.
Sent from RemarQ http://www.remarq.com/?z The Internet's Discussion Network
The fastest and easiest way to search and participate in Usenet - Free!