I'm Trying this Code:
- Code: Select all Expand view
FUNCTION Main()
LOCAL oServer, oQry
D_SetCaseSensitive( .T. )
IF ( oServer := ConnectTo() ) == NIL
RETURN
ENDIF
oQry = TDolphinQry():New( "SELECT * FROM usuarios ORDER BY usuario", oServer )
If( oQry:Seek( "TESTE", "usuario" ) > 0, MsgInfo("Found TESTE"), MsgInfo("No found TESTE") )
xBrowse(oQry)
RETURN nil
And allways display messenge "No found TESTE", but "TESTE" exist in table "usuários". See xBrowse image run after seek:
What i are doing wrong ?