int MGOupdrsubscription (Code *cod)
The MGOupdrsubscription() function updates an existing subscription reference record. Information is passed through cod. The required fields are:
cod.code is the subscription reference code. cod.name is the name of the subscription. You can only change the name field. To change the code field, you you must insert a new record.
Returns the number of records updated upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrsubscription(), MGOinsrsubscription(), MGOselrsubscription(), MGOzero()