int MGOinsrcategory (Code *cod)
The MGOinsrcategory() function inserts a new category reference record. Information is passed through cod. The required fields are:
cod.code is the new category reference code. cod.name is the name of the new category.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrcategory(), MGOselrcategory(), MGOupdrcategory(), MGOzero()