Page 1 of 1

bLogicLen

Posted: Sun Dec 23, 2007 6:10 pm
by Enrico Maria Giordano
I noticed that bLogicLen is evaluated 3 times (TWBrowse) and 2 times (TCBrowse) at each record moving. Is there anything we can do to evaluate it only once?

EMG

Posted: Sun Dec 23, 2007 8:34 pm
by James Bott
Enrico,

It seems that the logical-length can only change when a record is added, deleted, or the filter or scope is changed. So, if there was a new var, nLogicLen, then it could be corrected only when any of the above things changed, and thus bLogicLen would only be evaluated rarely.

However, to make this change to either of the existing browses would require quite some effort.

James

Posted: Sun Dec 23, 2007 9:02 pm
by Enrico Maria Giordano
James Bott wrote:Enrico,

It seems that the logical-length can only change when a record is added, deleted, or the filter or scope is changed.
Or when another user adds or deletes a record... :-(

EMG

Posted: Sun Dec 23, 2007 9:07 pm
by James Bott
Enrico,

>Or when another user adds or deletes a record...

Ah, yes, my whole idea falls apart because of this.

James