Hi Dave,
Can you see what I did wrong here. I've changed course and go with a static dependent list.
select inv.name, odf.nt_wire_center_st,(select NAME from clar142.cmn_lookups_v
where lookup_type ='CLLI_CD'
and lookup_code = 'odf.nt_wire_center_st'
and language_code = 'en') CLLI_NAME,
(select parent_lookup_code from clar142.cmn_lookups_v
where lookup_type ='CLLI_ID'
and lookup_code = 'odf.nt_wire_center_st'
and language_code ='en') CLLI_P_ID,
(select NAME from clar142.cmn_lookups_v where
lookup_type ='NT_WIRE_CENTER'
and lookup_code = (select parent_lookup_code from clar142.cmn_lookups_v
where lookup_type ='CLLI_ID'
and language_code = 'en'
and lookup_code ='odf.nt_wire_center_st')) Wire_Name
from clar142.inv_investments inv, clar142.odf_ca_project odf
where inv.id=odf.id
and inv.name ='Tai Test Project'
CLLI_NAME, CLLI_P_ID, and Wire_Name came back null
CLLI_ID is the level 2 lookup ID
and NT_WIRE_CENTER is the level 1 lookup ID
where nt_wiere_center_st is the attribute ID
Thanks,
Tai