Subject | Re: Cached Updates and master-detail-subdetail |
---|---|
Author | ejs_ibobjects |
Post date | 2008-10-22T02:30:06Z |
Hi everybody!
I dont know if is this the same thing, but I have problems with
master/detail using cached updates since I update my IBO to the latest
version (4.8.7).
Before this update my application (using firebird 1.5) working good.
Now with firebird 2.0.3 and latest IBO my master/detail programs fail
when insert a record in the detail table.
For a praticle example: my application dont get the generator value to
fill a field in the detail table... i dont know why...
someone help?
I dont know if is this the same thing, but I have problems with
master/detail using cached updates since I update my IBO to the latest
version (4.8.7).
Before this update my application (using firebird 1.5) working good.
Now with firebird 2.0.3 and latest IBO my master/detail programs fail
when insert a record in the detail table.
For a praticle example: my application dont get the generator value to
fill a field in the detail table... i dont know why...
someone help?
--- In IBObjects@yahoogroups.com, "Carlos H. Cantu" <listas@...> wrote:
>
> Does anybody here is using CachedUpdates with a
> Master -> Detail -> Subdetail model?
>
> My problem with this is when someone (in a single ApplyUpdates
> operation) deletes records in the detail+subdetail, and also insert
> new records in detail+subdetail. In this case, to make the delete to
work
> properly, the order of the "ApplyUpdates" needs to be
> subdetail -> detail -> master, but this makes the insert fail, since
> the subdetail would be inserted before the detail (and we cant have
> child without master).
>
> []s
> Carlos
> http://www.firebirdnews.org
> FireBase - http://www.FireBase.com.br
>