Navigation:  Functions > Enum Functions >

DaoUpdateCriteriaEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

Returns a 2-dimensional array with all the values of the UpdateCriteria Enum.

 

Description

Every row in this array has 2 values:

The numeric value of the Enum value
A text representation of this value

 

This array can be used to validate values, and to print a ,meaningful description of the values during debugging

You can pass this array tro the DaoEnum2Str() function to convert the value of an Enum to a string

 

Constant Description
dbCriteriaKey (Default) Uses just the key column(s) in the where clause.
dbCriteriaModValues Uses the key column(s) and all updated columns in the where clause.
dbCriteriaAllCols Uses the key column(s) and all the columns in the where clause.
dbCriteriaTimeStamp Uses just the timestamp column if available (will generate a run-time error if no timestamp column is in the result set).
dbCriteriaDeleteInsert Uses a set of DELETE and INSERT statements for each modified row.
dbCriteriaUpdate (Default) Uses an UPDATE statement for each modified row.

 

Returns

Array

 

See Also

DaoEnum2Str()