int MGOdelsponsor (Validation *val)
The MGOdelsponsor() function deletes a sponsor record. Information is passed through val. The required fields are:
val.validid is the validation id. val.sponsid is the sponsor's validation id. val.source_code is the sponsor validation source reference code.
Returns the number of records deleted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOinssponsor(), MGOselrvalsource(), MGOselsponsor(), MGOupdsponsor(), MGOzero()