This function assigns a value into a field.
MCO_RET classname_fieldname_put( /*IN*/ classname *handle, /*IN*/ <type> value );
handle | A pointer to a classname handle |
value |
A variable of type type, the value of which will be passed into classname.fieldname of the object referenced by handle |
This form of the function applies to fixed size integer and floating point elements (not char, string, BLOB or vectors). The C data type <type> of the value parameter is the data type of fieldname as defined in the database schema, and the prototype output by the schema processor to the generated API header.
MCO_S_OK | The value was put successfully |
MCO_E_ACCESS | The transaction that the class handle is scoped to is MCO_READ_ONLY |
MCO_E_TRANSACT |
|
MCO_E_DELETED |
|
MCO_E_NOMEM |
|
MCO_ERR_OBJECT_HANDLE |
|
MCO_ERR_TRN_LONG |
|
MCO_ERR_TRN |
|