int MGOselregid (Validation **lst, Validation *val)
The MGOselregid() function selects registry id records. Information is passed through val and returned through the linked list lst. The selection criteria fields are:
val.validid is the validation id. val.source_code is the validation source reference code. val.instance is the registry id instance. The instance field is optional. The following fields are set for each selected registry:
Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
rmango
MGOdelregid(), MGOfreevalidation(), MGOinsregid(), MGOselrvalsource(), MGOupdregid(), MGOzero()