oCmd.CommandType = adCmdStoredProc>Try this: I actually stepped through this and it gets the same non-result as that which is in my application.
>LOCAL cAlias, cConnectString, oCmd, oConn, oOLEDB, oRslt, cCmdString >cConnectString = 'PROVIDER=SQLOLEDB.1;Data Source=DEVELOPER\VSDotNET;Integrated Security=SSPI;Initial Catalog=MyDB; ' >cCmdString = "Logon_Request 'sa', ''" >cAlias = 'Access' > >oCmd = CREATEOBJECT( 'ADODB.Command' ) >oConn = CREATEOBJECT( 'ADODB.Connection' ) >oOLEDB = CREATEOBJECT( 'vfpcom.comutil' ) >oRslt = CREATEOBJECT( 'ADODB.RecordSet' ) > >oConn.ConnectionString = cConnectString >oConn.Open() >oCmd.ActiveConnection = oConn >oCmd.CommandText = cCmdString >oRslt.CursorType = 3 && adOpenStatic >oRslt.LockType = 3 && adLockOptimistic >oRslt.Open( oCmd ) > >oOLEDB.RsToCursor( oRslt, cAlias )>This is the command that PROFILER captures: