Synopsis
MDA_PTR s041_GetParentByTF(MDA_PTR db_ptr, DDF_TF type_form)
Purpose
Find a parent entity given its type/form.
Description
Find a parent entity of the entity specified by db_ptr whose type/form matches the specified type_form.
Input
db_ptr
MDA pointer of entity to find parent of
type_form
type/form of parent entity desired
Return
MDA_PTR of parent or MDA_NULL_PTR