The following works in Access - I tried it.
Modify the ParentChild table as follows.
id int identity not null
father int null
mother int null
description varchar(100) null
Query
SELECT ParentChild.description AS Name, ParentChild_1.description AS Father, ParentChild_2.description AS Mother
FROM (ParentChild LEFT JOIN ParentChild AS ParentChild_1 ON ParentChild.father = ParentChild_1.id) LEFT JOIN ParentChild AS ParentChild_2 ON ParentChild.mother = ParentChild_2.id;
Best wishes,
Rand
|