Change return of doctype

Hi all.

When I do a link with a childtable, the return is the childtable name column like “91239asd912”, how can I change that return to another column like parent by clientside?