Recordset (ADO for Visual C++ syntax)

Applies to: Access 2013 | Access 2016

Methods

  • AddNew (VARIANT FieldList, VARIANT Values)
  • Cancel (void)
  • CancelBatch (AffectEnum AffectRecords)
  • CancelUpdate (void)
  • Clone (LockTypeEnum LockType, _ADORecordset ** ppvObject)
  • Close (void)
  • CompareBookmarks (VARIANT Bookmark1, VARIANT Bookmark2, CompareEnum * pCompare)
  • Delete (AffectEnum AffectRecords)
  • Find (BSTR Criteria, 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 (LONG Options)
  • Resync (AffectEnum AffectRecords, ResyncEnum ResyncValues)
  • Save (BSTR FileName, PersistFormatEnum PersistFormat)
  • Supports (CursorOptionEnum CursorOptions, VARIANT_BOOL * pb)
  • Update (VARIANT Fields, VARIANT Values)
  • UpdateBatch (AffectEnum AffectRecords)

Properties

Events

  • 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)

See also