Subject | RE: [ib-support] Help!!!!!!!!!!!!!!!!!!!!!, Delphi, Interbase, IBTables and Catched Updates |
---|---|
Author | Louis Kleiman |
Post date | 2003-05-27T12:41:46Z |
Fernando -
Your problem is really a Delphi one, not IB/FB, but…
You should be using TClientDataSet with nested details to properly apply
updates to many linked tables at once in the proper order.
Gee, I really sound like a broken record on this list.
Louis Kleiman
SSTMS, Inc.
-----Original Message-----
From: Fernando Buitrago (Listas y Foros) [mailto:buitragon@...]
Sent: Monday, May 26, 2003 7:19 PM
To: ib-support@yahoogroups.com
Subject: [ib-support] Help!!!!!!!!!!!!!!!!!!!!!, Delphi, Interbase, IBTables
and Catched Updates
Hi
I´v two tables:
MyMaster
Fieds Id_Master integer Primary key
Desc_Master
MyDetail
Fields Id_Detail Integer Primary Key
Id_Master Integer references MyMaster(Id_Master) On
Update cascade on delete cascade
Now, In delphi
Two IBTables and its TDataSources, conected with a IBDatabase linked to
IBTransaction.
1er Case) If the CatchedUpdates Property is False in the two tables and I
need to make ApplyUpdates it is not true just when I close my Application.
Why?
2do Case) If I put the CatchedUpdates Property is True in the two tables
it apply all the Updates when I want but....
Help!!!!!!!!!!!!!, in then Master Details cases, the detail desapear if I
change the master or try to applyUpdates the master after Post the datails
data. (Of Cource, If I try to Appy updates in Details before the Master, the
relationShip explot because Id_Master not exits in the real database yet.
In Internet, In Books, I can not find examples, demos or good articles
referens of this Topic, Help me, and Regards
Fernando
Note: Sorry, this Message will be send others forums, because it is very
important to know, do you?.
Regards againg
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3179269.4495679.1512248/D=egroupweb/S=17051153
86:HM/A=1524963/R=0/*http:/hits.411web.com/cgi-bin/autoredir?camp=556&lineid
=3179269∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3179269.4495679.1512248/D=egroupmai
l/S=:HM/A=1524963/rand=735174489>
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]
Your problem is really a Delphi one, not IB/FB, but…
You should be using TClientDataSet with nested details to properly apply
updates to many linked tables at once in the proper order.
Gee, I really sound like a broken record on this list.
Louis Kleiman
SSTMS, Inc.
-----Original Message-----
From: Fernando Buitrago (Listas y Foros) [mailto:buitragon@...]
Sent: Monday, May 26, 2003 7:19 PM
To: ib-support@yahoogroups.com
Subject: [ib-support] Help!!!!!!!!!!!!!!!!!!!!!, Delphi, Interbase, IBTables
and Catched Updates
Hi
I´v two tables:
MyMaster
Fieds Id_Master integer Primary key
Desc_Master
MyDetail
Fields Id_Detail Integer Primary Key
Id_Master Integer references MyMaster(Id_Master) On
Update cascade on delete cascade
Now, In delphi
Two IBTables and its TDataSources, conected with a IBDatabase linked to
IBTransaction.
1er Case) If the CatchedUpdates Property is False in the two tables and I
need to make ApplyUpdates it is not true just when I close my Application.
Why?
2do Case) If I put the CatchedUpdates Property is True in the two tables
it apply all the Updates when I want but....
Help!!!!!!!!!!!!!, in then Master Details cases, the detail desapear if I
change the master or try to applyUpdates the master after Post the datails
data. (Of Cource, If I try to Appy updates in Details before the Master, the
relationShip explot because Id_Master not exits in the real database yet.
In Internet, In Books, I can not find examples, demos or good articles
referens of this Topic, Help me, and Regards
Fernando
Note: Sorry, this Message will be send others forums, because it is very
important to know, do you?.
Regards againg
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3179269.4495679.1512248/D=egroupweb/S=17051153
86:HM/A=1524963/R=0/*http:/hits.411web.com/cgi-bin/autoredir?camp=556&lineid
=3179269∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3179269.4495679.1512248/D=egroupmai
l/S=:HM/A=1524963/rand=735174489>
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]