Subject | Master-Datail problem |
---|---|
Author | Salva |
Post date | 2001-12-12T10:55:10Z |
Hello, I'm newbie with IBO and IB.
I'm traying to make master-datail relationship with to tables and I MUST use
TIBOTABLEs.
If I use IBX components it works (tables infact dont't have any "real"
realation between them or foreign key). They are related this way:
USUARIOS.IDDEPAR=DEPAR.ID (detail-master). When I insert one record in
detial table IDDEPAR takes it's value from master table ok.
If I make the same with IBO it doesn't work, I mean, master-detail
relationship works ok, but in inserts IDDEPAR value is not set
automatically.
Any idea?.
Thanks, Salva
I'm traying to make master-datail relationship with to tables and I MUST use
TIBOTABLEs.
If I use IBX components it works (tables infact dont't have any "real"
realation between them or foreign key). They are related this way:
USUARIOS.IDDEPAR=DEPAR.ID (detail-master). When I insert one record in
detial table IDDEPAR takes it's value from master table ok.
If I make the same with IBO it doesn't work, I mean, master-detail
relationship works ok, but in inserts IDDEPAR value is not set
automatically.
Any idea?.
Thanks, Salva