Hi Nigel,
I see what you mean... datawindowchild doesn't have a dataobject property.
Can only then suggest you do a sharedata
Instance variable:
n_ds idsReason
Where you retrieve:
IF (g_str_user.s_role_name = 'STAFF') then
L1 = dw_1.GetChild("reason", idwc_reason)
idsReason = create n_ds
idsReason.dataobject = 'd_adm_commlog_reason_csr'
idsReason.SettRANSoBJECT ( I_TR_SQL)
idsReason.Retrieve()
idsReason.ShareData ( idwc_reason )
end if
hth
Lars