Subject | Re: [IBO] WorkUnitNumber property in TfrmBase |
---|---|
Author | Jason Wharton |
Post date | 2001-12-06T16:58:33Z |
> I found WorkUnitNumber is never decremented so the form is not close whenthe Finish button or Cancel button clicked.
>? Is this correct (it's work for me, form is close) ? Or is it by design ?
> How about if I add Dec(FWorkUnitNumber) in TfrmBase.AfterCompleteWorkUnit
By design.
WorkUnitNumber isn't a increment/decrement reference tracking mechanism. It
is merely intended to distinguish one work flow item from subsequent ones.
It just increments indefinitely. I suppose if a user sat in front of it long
enough to do two billion work items we might exhaust its range of values but
I don't expect that to be an immediate concern.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com