int MGOupdregid (Validation *val)
The MGOupdregid() function updates an existing registry id record. Information is passed through val. The required fields are:
val.validid is the validation id. val.source_code is the validation source reference code. val.instance is the registry id instance. val.regid is the registry id value. You can only change the regid field. To change the other fields, you have to insert a new record.
Returns the number of records updated upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelregid(), MGOinsregid(), MGOselregid(), MGOselrvalsource(), MGOzero()