Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Dynamic swapping of DDDWs

$
0
0

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


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>