int MGOselaffiliation (Validation **lst, Validation *val)
The MGOselaffiliation() function selects affiliation records. Information is passed through val and returned through the linked list lst. The selection criteria fields are:
val.uwnetid is the uwnetid name. val.validid is the validation id. val.source_code is the validation source reference code. You can specify either a uwnetid, or a validid and source_code or all three. The following fields are set for each selected affiliation:
Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
rmango
MGOdelaffiliation(), MGOfreevalidation(), MGOinsaffiliation(), MGOupdaffiliation(), MGOzero()