The WillChangeField event is called before a pending operation changes the value of one or more Field objects in the Recordset. The FieldChangeComplete event is called after the value of one or more Field objects has changed.
WillChangeField cFields, Fields, adStatus, pRecordset FieldChangeComplete cFields, Fields, pError, adStatus, pRecordset
When WillChangeField is called, this parameter is set to adStatusOK if the operation that caused the event was successful. It is set to adStatusCantDeny if this event cannot request cancellation of the pending operation.
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 WillChangeField returns, set this parameter to adStatusCancel to request cancellation of the pending operation.
Before FieldChangeComplete returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications.
A WillChangeField or FieldChangeComplete event may occur when setting the Value property and calling the Update method with field and value array parameters.
Applies To: Recordset Object