on the details page, you will need to edit the recordset that is created to a joined query in order to return the name from the linked table, then replace the binding that is showing the ID on the page with the binding for the name column.
see the following page for more details on joined queries to return related data from multiple tables:
sql_join.asp