Subject Re: [IBO] TIB_Transaction in master detail
Author Jason Wharton
You use explicit transaction control and code it into your application.

Jason Wharton
CPS - Mesa AZ

-- We may not have it all together --
-- But together we have it all --

----- Original Message -----
From: "Raymond Kennington" <progsol@...>
To: <>
Sent: Monday, October 21, 2002 8:15 AM
Subject: Re: [IBO] TIB_Transaction in master detail

> Jason Wharton wrote:
> >
> > This isn't an issue of Commit, but rather posting order. You can
> > the master dataset so that it will remain in insert state and allow the
> > detail to Post its insert. Behind the scenes IBO does an insert on the
> > server for the master dataset and then when it actually does its post it
> > will update the record. I think of it as allowing the master to do a
> > insert and then when it is done it will complete the insert by updating
> > stub record with its final values. If the insert of the master is
> > then the stub record is deleted.
> >
> Supposing, then, that there is a master table and a detail table and I
want either the
> master record and all its detail records either all posted or none posted
in a single
> transactional unit, is it possible to alter the Post behaviour of the Post
button in the
> UpdateBar connected to the master table to issue a PostRetain rather than
a Post?
> What is the standard way of using IBObjects to solve the single-unit
transaction of a
> master record and all its children?
> --
> Raymond Kennington
> Programming Solutions
> W2W Team B