Name
ADCPROP_UPDATECRITERIA_ENUM Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
The ADCPROP_UPDATECRITERIA_ENUM enumeration indicates which fields dictate conflicts during optimistic updates. This enumeration value is used within the Recordset dynamic property, Update Criteria.
Enumeration (ADO/WFC) |
Value |
Description |
adCriteriaAllCols (ALLCOLS) |
1 |
If any column of the data-source row has been changed, a conflict is detected. |
adCriteriaKey (KEY) |
0 |
If the key column of the data-source row has changed (the row has been deleted), a conflict is detected. |
adCriteriaTimeStamp (TIMESTAMP) |
3 |
If the timestamp of the data-source row has been changed (the row has been accessed after the Recordset was obtained), a conflict is detected. |
adCriteriaUpdCols (UPDCOLS) |
2 |
If any columns of the data-source row that correspond to the updated fields in the Recordset object have changed, a conflict is detected. |
ADO/WFC
The ADCPROP_UPDATECRITERIA_ENUM enumeration is part of the com.ms.wfc.data package and the constant values are preceded with AdoEnums.AdcPropUpdateCriteria.
Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.