please help me, my xbrowse is slow on network.
it contains only 12,000 registers, I note that is slow when I use :
oBrw:lIncrFilter := .t.
oBrw:lSeekWild := .t.
oBrw:cFilterFld := "RUC"
If I omitt these sentences, the movement into xbrowse is normal, but I want that xbrowse has search incremental
I use CDX and DBf's
I open all tables at the beginning of the program
- Code: Select all Expand view RUN
REDEFINE XBROWSE oBrw ;
ALIAS "MCODI" ;
COLUMNS "Codigo","Ng","RUC","Te","Di" ;
FIELDSIZES 50, 195,75,120, 100 ;
HEADERS "CODIGO" ;
,"RAZÓN SOCIAL" ;
,"NO. IDENT." ;
,"TELÉFONOS" ;
,"DIRECCIÓN" ;
ID 4001 OF oDlg ;
AUTOSORT ;
LINES CELL //;
oBrw:bKeyDown := { |nKey| ProcMtn(nKey, nTipo) }
oBrw:bLDblClick := { || ProcMtn( 13, nTipo ) }
oBrw:nMarqueeStyle = MARQSTYLE_HIGHLROW
oBrw:lIncrFilter := .t.
oBrw:lSeekWild := .t.
oBrw:cFilterFld := "RUC"
REDEFINE SAY oBrw:oSeek VAR oBrw:cSeek ID 111 OF oDlg COLOR RGB(0,0,0),RGB(204,204,102) //COLOR CLR_HRED,CLR_YELLOW
ACTIVATE DIALOG oDlg CENTERED NOWAIT ON INIT (oDlg:Update(), oBrw:setfocus() )