Page 1 of 1

Pregunta No 1 Para Amigo Daniel

PostPosted: Fri Mar 02, 2012 9:27 pm
by ruben Dario
Saludos.

Daniel.
Pregunta No 1
Que diferencia hay entre
oQry = oServer:Query( "SELECT * FROM clientes limit 20" )
y
oQry = TDolphinQry():New( "SELECT * FROM test", oServer )

Pregunta No 2
Veo que Locate y Find Funcionan Igual Me corriges si me equivoco..
En la Sintaxis del codigo Locate y Find que indica cuando dices .F. o .T. (Que efecto hace)
? If( ( nRec := oQry:Locate( {"AARON","EDDY"}, {"first","last"}, , , , .F. ) ) > 0, "Found", "No found" ) + Str( nRec )
? If( ( nRec := oQry:Find( {"AARON","EDDY"}, {"first","last"}, , , , .T. ) ) > 0, "Found", "No found" ) + Str( nRec )


Gracias

Re: Pregunta No 1 Para Amigo Daniel

PostPosted: Fri Mar 02, 2012 9:48 pm
by Daniel Garcia-Gil
ruben Dario wrote:Daniel.
Pregunta No 1
Que diferencia hay entre
oQry = oServer:Query( "SELECT * FROM clientes limit 20" )
y
oQry = TDolphinQry():New( "SELECT * FROM test", oServer )


ninguna

ruben Dario wrote:Pregunta No 2
Veo que Locate y Find Funcionan Igual Me corriges si me equivoco..
En la Sintaxis del codigo Locate y Find que indica cuando dices .F. o .T. (Que efecto hace)
? If( ( nRec := oQry:Locate( {"AARON","EDDY"}, {"first","last"}, , , , .F. ) ) > 0, "Found", "No found" ) + Str( nRec )
? If( ( nRec := oQry:Find( {"AARON","EDDY"}, {"first","last"}, , , , .T. ) ) > 0, "Found", "No found" ) + Str( nRec )


http://forums.fivetechsupport.com/viewtopic.php?p=104998#p104998