int MGOinsregid (Validation *val)
The MGOinsregid() function inserts a new registry id record. Information is passed through val. The required and optional 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. If not specified, one will be generated.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelregid(), MGOselregid(), MGOselrvalsource(), MGOupdregid(), MGOzero()