Estoy pasando de DBF a SQL para ello trabajo con la clase TDOLPHIN de Daniel pero no logro que me muestre solamente las filas que coinicida con lo tipeado
la coincidencia puede ser al comienzo , mitad o final del apellido
Este es mi code
- Code: Select all Expand view
#include "FiveWin.ch"
#include "tdolphin.ch"
#include "xbrowse.ch
IF ( oServer := ConnectTo() ) == NIL
RETURN NIL
ENDIF
D_SetCaseSensitive( .T. )
oQry:=oServer:Query("SELECT * FROM president order by first_name")
DEFINE DIALOG oDlg SIZE 565, 480
@ 30, 10 XBROWSE oBrw DATASOURCE oQry ;
AUTOSORT PIXEL SIZE 260, 200 //AUTOCOLS
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
WITH OBJECT oBrw
:lSeekWild := .t.
:lIncrFilter := .t.
:cFilterFld := "first_name"
END
@ 10, 10 SAY oBrw:oSeek PROMPT oBrw:cSeek SIZE 80,10 PIXEL OF oDlg ;
COLOR CLR_RED,CLR_YELLOW
// Uncomment this line for fivewin version < 10.7
// SetDolphin( oBrw, oQry )
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg CENTERED
Gracias