Fetching a data field from another doctype

I want to fetch full name which is read only data field from a doctype called Members to another doctype called Trainers. The Trainers has a link type field as Members but it returns only the ID, I want the full name too.