Is dw_1 the datawindow, or a reference to the DDDW on the datawindow?
I think Lars' earlier post nailed it ... you need to get a reference to the DDDW then access the columns in it. As per Lars' post-
- datawindowchild lwdc
- long ll_row
- string ls_employee_id
- GetChild <DW column name>, ldwc )
- ll_row = ldwc.Find ( 'person_id=' + long ( data ), 1 , ldwc.RowCount() )
- if ll_row > 0 then
- ls_employee_id = ldwc.GetItemString ( ll_row ,<third DDDW column name>)
- end if