... oRS = oCN.Execute(cSQL) oCA=CREATEOBJECT("CursorAdapter") oCA.DataSourceType="ADO" oCA.CursorFill(,,,toRS) oCA.CursorDetach() BROWSE LAST NOWAIT>Hay everybody and thanks in advanced for any help.
>select * >from appEnv >where bclass=100 > and flags='A' >and (kmdata like '%<fullName>%poeta%</fullName>%' >and kmdata like '%<fullName>%fabio%</fullName>%') >the VFP code is: > >LOCAL oRS as ADODB.Recordset,oCN as ADODB.Connection >. >oCN = aApp.conObj && Get connection from a specific method. >. >cSQL = "...." && the SQL statement > >oRS = oCN.Execute(cSQL)