bLogicLen

bLogicLen

Postby Enrico Maria Giordano » Sun Dec 23, 2007 6: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Sun Dec 23, 2007 8: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Sun Dec 23, 2007 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Sun Dec 23, 2007 9:07 pm

Enrico,

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

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

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 76 guests