Help Center

CAdoEvents.FieldChangeCompletemethod

Called after the value of one or more Field objects has changed.

Databasesmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION FieldChangeComplete (BYVAL cFields AS LONG, BYVAL Fields AS VARIANT, BYVAL pError AS Afx_ADOError PTR, BYVAL adStatus AS EventStatusEnum PTR, BYVAL pRecordset AS Afx_ADORecordset PTR) AS HRESULT

Parameters

NameDescription
cFieldsA Long that indicates the number of Field objects in Fields.
FieldsFor FieldChangeComplete, the Fields parameter is an array of Variants that contains Field objects with the changed values.
pErrorAn Error object. It describes the error that occurred if the value of adStatus is adStatusErrorsOccurred; otherwise it is not set.
adStatusEventStatusEnum. When FieldChangeComplete is called, this parameter is set to adStatusOK if the operation that caused the event was successful, or to adStatusErrorsOccurred if the operation failed. Before FieldChangeComplete returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications.
pRecordsetA Recordset object. The Recordset for which this event occurred.

Description

Called after the value of one or more Field objects has changed.

Remarks

A WillChangeField or FieldChangeComplete event may occur when setting the Value property and calling the Update method with field and value array parameters.

Reference