SYNOPSIS

int MGOupdrvalstatus (Code *cod)

DESCRIPTION

The MGOupdrvalstatus() function updates an existing validation status reference record. Information is passed through cod. The required fields are:

cod.code is the validation status reference code. cod.name is the name of the status. You can only change the name field. To change the code field, you must insert a new record.

RETURN VALUE

Returns the number of records updated upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOdelrvalstatus(), MGOinsrvalstatus(), MGOselrvalstatus(), MGOzero()