SYNOPSIS

int MGOdelsponsor (Validation *val)

DESCRIPTION

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.

RETURN VALUE

Returns the number of records deleted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOinssponsor(), MGOselrvalsource(), MGOselsponsor(), MGOupdsponsor(), MGOzero()