Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/01/2007, 17:42
Avatar de u_goldman
u_goldman
Moderador
 
Fecha de Ingreso: enero-2002
Mensajes: 8.031
Antigüedad: 23 años, 4 meses
Puntos: 98
Re: no entiendo la instruccion.

Estás llamando al método Open de un recordset, este método recibe como argumentos

SQL = Query
oConn = Conexión activa a tu base de datos

Los dos últimos números son el tipo de cursor y el tipo de cerrojo respectivamente

Cita:
In ADO there are 4 different cursor types defined:

* Dynamic cursor - Allows you to see additions, changes, and deletions by other users.
* Keyset cursor - Like a dynamic cursor, except that you cannot see additions by other users, and it prevents access to records that other users have deleted. Data changes by other users will still be visible.
* Static cursor - Provides a static copy of a recordset for you to use to find data or generate reports. Additions, changes, or deletions by other users will not be visible. This is the only type of cursor allowed when you open a client-side Recordset object.
* Forward-only cursor - Allows you to only scroll forward through the Recordset. Additions, changes, or deletions by other users will not be visible.

The cursor type can be set by the CursorType property or by the CursorType parameter in the Open method.
Fuente: http://www.w3schools.com/ado/ado_ref_recordset.asp

Salud
__________________
"El hombre que ha empezado a vivir seriamente por dentro, empieza a vivir más sencillamente por fuera."
-- Ernest Hemingway