Subject | Re: [IBO] Post v/s PostRetaining |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-17T03:43:08Z |
> So my question is how to tell the difference betweenTIB_Dataset.IsPostRetaining is a dynamic flag set while a post is in
> Post and PostRetaining in OnBeforePost event. Does IBO
> expose some internal flag?
progress. The flag is set prior to calling OnBeforePost and reset
again when the post process is complete.
If you wish to see if a record has been PostRetained check the
HasPostRetained flag - this is only set after the Post process is
performed, so it is not good in the OnBeforePost process - unless you
are looking to see if this is a post of a previous PostRetained
record. The flag should only ever be set in a record that otherwise
appears to be in insert mode.
Geoff Worboys
Telesis Computing