Help Center

CADOField.Attachmethod

Attaches a reference to a `Field` object to the class.

DatabasesmethodCADOField.incdocumented

Syntax

SUB Attach (BYVAL pField AS Afx_ADOField PTR, BYVAL fAddRef AS BOOLEAN = FALSE)

Parameters

NameDescription
pFieldA reference to an ADO Field object.
fAddRefTRUE = increase the reference count; FALSE = don't increase the reference count.

Description

Attaches a reference to an ADO Field object to the class.

Reference

  • Include file CADOField.inc
  • Defined in AfxNova/CAdoFields.inc:141
  • Documented in Databases/ADO Classes/CAdoFields Class.md
  • Topic: CAdoFields Class