Está en la página 1de 3

Unload me : Te sirve para remover permanentemente algun objeto o formulario.

Es diferente de la funcion HIDE ya que... Si usas HIDE para ocultar un formulario, puedes cargarlo
de nuevo con SHOW. Unload lo descarga de la memoria RAM y ya no se puede volver a cargar a
menos que cierres todo el programa y lo vuelvas a ejecutar.

Recordset es una estructura de datos usada en programacin cuya utilidad es la de


almacenar informacin desde una tabla de una base de datos. Se usa con frecuencia para
obtener conexiones con bases de datos y almacenar el resultado de las
posibles consultas que se realicen.
OpenRecordset(Name, Type, Options, LockEdit)

Name

Require
d/Optio
nal

Data
Type

Name

Required

String

The source of the records for the new Recordset. The


source can be a table name, a query name, or an SQL
statement that returns records. For tabletype Recordset objects in Microsoft Access database
engine databases, the source can only be a table name.

Type

Optional

Varian
t

A RecordsetTypeEnum constant that indicates the


type of Recordset to open.

Description

Note

If you open a Recordset in a Microsoft Access workspace and you do


type, OpenRecordsetcreates a table-type Recordset, if possible. If yo
query, OpenRecordset creates a dynaset-type Recordset.

Option
s

Optional

Varian
t

A combination of RecordsetOptionEnum constants


that specify characteristics of the new Recordset.

Note

The constants dbConsistent and dbInconsistent are mutually exclusi


error. Supplying a LockEdit argument when Options uses the dbRead
error.

LockEd
it

Optional

Varian
t

A LockTypeEnum constant that determines the locking


for the Recordset.

Note

You can use dbReadOnly in either the Options argument or the


you use it for both arguments, a run-time error occurs.

También podría gustarte