xBrowse incremental seek multiple indexes

xBrowse incremental seek multiple indexes

Postby ukoenig » Mon Mar 16, 2015 9:26 pm

Hello,

I tested xBrowse incremental seek with multiple indexes
Only the 1. selected column is used.
Changing the column, the seek still belongs to the first selection.
Clicking on the header, the index works

I''m using :

REDEFINE SAY oBrw1:oSeek PROMPT oBrw1:cSeek ID 300 OF oFld:aDialogs[ 1 ] PIXEL FONT oFontSmall
oBrw1:oSeek:Setcolor( 0, 16777215 )


1. column selected

Image

4. column selected searching for < P >, but searching in column 1
field < Typ > is sorted

Image

best regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse incremental seek multiple indexes

Postby nageswaragunupudi » Mon Mar 16, 2015 9:58 pm

Please tell us more:
What setting are you using for:
1. lIncrFilter .t. or .f.
2 lSeekWild .t. or .f.
Are you using DBF
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10317
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse incremental seek multiple indexes

Postby ukoenig » Mon Mar 16, 2015 10:10 pm

Mr. Rao,

DBF is used
the settings :

Code: Select all  Expand view

WITH OBJECT oBrw1
     :lIncrFilter := .t.
     :lSeekWild := .t.
     :bChange := { || K_GET() }
     :nFreeze := 2
END
 


best regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse incremental seek multiple indexes

Postby nageswaragunupudi » Mon Mar 16, 2015 11:40 pm

Unlike incremental seek, incremental filter works slightly differently.
The filter actually works on oBrw:cFilterFld, which can be specified by the programmer. The filter expression is not cleared (unlike incremental seek) when sort order is changed and the user can continue to type the filter expression. He can also view the filtered records in different sort orders. Actually filter has nothing to do with sort order and does not require index.

When programmer does not specify oBrw:cFilterFld, xbrowse assigns the sorted field when the first search key is pressed.

During runtime, programmer can change the filter field depending on his design.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10317
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 131 guests