FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour bLogicLen
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
bLogicLen
Posted: Sun Dec 23, 2007 06:10 PM

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

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
bLogicLen
Posted: Sun Dec 23, 2007 08:34 PM

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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
bLogicLen
Posted: Sun Dec 23, 2007 09:02 PM
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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
bLogicLen
Posted: Sun Dec 23, 2007 09:07 PM

Enrico,

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

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

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion