Compartir a través de


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

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

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.