Subject | Help!!!!!!!!!!!!!!!!!!!!!, Delphi, Interbase, IBTables and Catched Updates |
---|---|
Author | Fernando Buitrago (Listas y Foros) |
Post date | 2003-05-26T23:19:25Z |
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]
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]