<< Click to Display Table of Contents >>

Navigation:  Ado Events > AdoRecordSetEvents Class >


Previous pageReturn to chapter overviewNext page


The WillChangeField event is called before a pending operation changes the value of one or more Field objects in the Recordset.



METHOD WillChangeField ( lFields, aFields, lStatus, oRecordSet )  CLASS AdoRecordSetEvents



lFields        A Long that indicates the number of Field objects in Fields

aFields        An array of Usuals that contains Field objects with pending changes

lStatus        An AdoEventStatusEnum status value

oRecordSet        A Recordset object. The Recordset for which this event occurred




Before WillChangeField returns, set the lStatus parameter to adStatusCancel to request cancellation of the pending operation

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


See Also

AdoRecordSetEvents, AdoEventStatusEnum