int MGOupdaffiliation (Validation *val)
The MGOupdaffiliation() function updates an existing affiliation record. Information is passed through val. The required fields are:
val.uwnetid is the uwnetid name. val.validid is the validation id. val.source_code is the validation source reference code. val.status_code is the affiliation status reference code. You can only change the status_code field. To change the other fields, you must insert a new record.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelaffiliation(), MGOinsaffiliation(), MGOselaffiliation(), MGOselraffstatus(), MGOselrvalsource(), MGOzero()