... data work like clientside recordset. Back to CursorType: When we look around we see many postings setting custor type either to adOpenKeySet or adOpenDynamic but never adOpenForwardOnly or adOpenStatic. adOpenKeySet ( 1 ) keyset cursor. Like a dynamic cursor, except that you can't see records ...
... adOpenKeyset When we open a recordset on the client side (this is what we should do) there is no use of assigning any values like adOpenKeyset or adOpenDynamic. Whatever we want ADO always opens the recordset with CursorType static only.
... por la definicion del Recordset, ahora lo tengo de la siguiente manera: oRs := TOleAuto():New( "ADODB.Recordset" ) oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:ActiveConnection(oConnection) oRs:Source := "EXEC sp_Menu ...
... inicio mais depois é uma maravilha. Porem, tenho um problema: Estou usando esta configuração: oRs:LockType := adLockOptimistic oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient Com esta configuração não estou conseguindo visualizar as alterações feitas por outros usuários. Tenho ...
... use use ADO to access MySql DB. I try modify a row using : oRecordSet := TOleAuto():New( "ADODB.Recordset" ) oRecordSet:CursorType := adOpenDynamic oRecordSet:CursorLocation := adUseClient oRecordSet:LockType := adLockOptimistic TRY oRecordSet:Open( "SELECT filename FROM testi ...
... el recordset que manejara la tabla oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenKeyset//adOpenDynamic oRs:Source := "SELECT * FROM imovweb; " oRs:ActiveConnection(oCn) //Ahora si cargamos los datos en el recordset TRY oRs:Open() ...