Recordset (sintaxis de ADO para Visual C++)
Se aplica a: Access 2013 | Access 2016
Métodos
- AddNew (VARIANT FieldList,VARIANT Values)
- Cancelar (nulo)
- CancelBatch (AffectEnum AffectRecords)
- CancelUpdate (void)
- Clone (LockTypeEnum LockType, _ADORecordset ** ppvObject)
- Cerrar (void)
- CompareBookmarks (VARIANT Bookmark1, VARIANT Bookmark2, CompareEnum * pCompare)
- Eliminar (AffectEnum AffectRecords)
- Buscar (Criterios BSTR ,Long SkipRecords, SearchDirectionEnum SearchDirection, VARIANT Start)
- GetRows ( long Rows, VARIANT Start, VARIANT Fields, VARIANT * pvar)
- GetString (StringFormatEnum StringFormat,long NumRows, BSTR ColumnDelimeter, BSTR RowDelimeter, BSTR NullExpr, BSTR * pRetString)
- Move ( long NumRecords, VARIANT Start)
- MoveFirst (void)
- MoveLast (void)
- MoveNext (void)
- MovePrevious (void)
- NextRecordset (VARIANT * RecordsAffected, _ADORecordset ** ppiRs)
- Open ( VARIANT Source, VARIANT ActiveConnection, CursorTypeEnum CursorType, LockTypeEnum LockType,LONG Options)
- Requery ( opciones de LONG)
- Resincronizar (AffectEnum AffectRecords, ResyncEnum ResyncValues)
- Guardar (BSTR FileName, PersistFormatEnum PersistFormat)
- Admite (CursorOptionEnum CursorOptions, VARIANT_BOOL * pb)
- Actualización ( campos VARIANT,valores VARIANT)
- UpdateBatch (AffectEnum AffectRecords)
Propiedades
- get_AbsolutePage (PositionEnum * pl) put_AbsolutePage ( página PositionEnum)
- get_AbsolutePosition (PositionEnum * pl) put_AbsolutePosition (PositionEnum Position)
- get_ActiveCommand (IDispatch ** ppCmd)
- get_ActiveConnection (VARIANT * pvar) put_ActiveConnection (VARIANT vConn) putref_ActiveConnection (IDispatch * pconn)
- get_BOF (VARIANT_BOOL * pb)
- get_Bookmark (VARIANT * pvBookmark) put_Bookmark (VARIANT vBookmark)
- get_CacheSize (long * pl) put_CacheSize ( long CacheSize)
- get_CursorLocation (CursorLocationEnum * plCursorLoc) put_CursorLocation (CursorLocationEnum lCursorLoc)
- get_CursorType (CursorTypeEnum * plCursorType) put_CursorType (CursorTypeEnum lCursorType)
- get_DataMember (BSTR * pbstrDataMember) put_DataMember (BSTR bstrDataMember)
- get_DataSource (IUnknown ** ppunkDataSource) putref_DataSource (IUnknown * punkDataSource)
- get_EditMode (EditModeEnum * pl)
- get_EOF (VARIANT_BOOL * pb)
- get_Filter (VARIANT * Criterios) put_Filter ( criterios VARIANT)
- get_LockType (LockTypeEnum * plLockType) put_LockType (LockTypeEnum lLockType)
- get_MarshalOptions (MarshalOptionsEnum * peMarshal) put_MarshalOptions (MarshalOptionsEnum eMarshal)
- get_MaxRecords (long * plMaxRecords) put_MaxRecords ( long lMaxRecords)
- get_PageCount (long * pl)
- get_PageSize (long * pl) put_PageSize ( long PageSize)
- get_RecordCount (long * pl)
- get_Sort (BSTR * Criterios) put_Sort ( criterios BSTR)
- get_Source (VARIANT * pvSource) put_Source (BSTR bstrConn) putref_Source (IDispatch * pcmd)
- get_State (LONG * plObjState)
- get_Status (largo * pl)
- get_StayInSync (VARIANT_BOOL * pbStayInSync) put_StayInSync (VARIANT_BOOL bStayInSync)
- get_Fields (ADOFields ** ppvObject)
Eventos
- EndOfRecordset (VARIANT_BOOL * fMoreData, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- FetchComplete (ADOError * pError, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- FetchProgress ( long Progress, long MaxProgress, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- FieldChangeComplete (LONG cFields,VARIANT Fields, ADOError * pError, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- MoveComplete (EventReasonEnum adReason, ADOError * pError, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- RecordChangeComplete (EventReasonEnum adReason, LONG cRecords, ADOError * pError, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- RecordsetChangeComplete (EventReasonEnum adReason, ADOError * pError, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- WillChangeField (LONG cFields,VARIANT Fields, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- WillChangeRecord (EventReasonEnum adReason, LONG cRecords, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- WillChangeRecordset (EventReasonEnum adReason, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
- WillMove (EventReasonEnum adReason, EventStatusEnum * adStatus, _ADORecordset * pRecordset)
Vea también
- Acceso al foro de desarrolladores
- Acceso a la ayuda en support.office.com
- Acceso a la ayuda en answers.microsoft.com
- Acceso a foros en UtterAccess
- Acceso al centro de ayuda de programadores VBA y desarrolladores (FMS)
- Acceso a las publicaciones en StackOverflow
Soporte técnico y comentarios
¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.