Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: Dynamic swapping of DDDWs

$
0
0

Rich is more than on the right track.,, Use the pointer to the datawindowchild to change to the datawindow object.

 

// original dddw  d_adm_commlog_reason

IF g_str_user.s_role_name = 'STAFF' then

     l1 = dw_1.GetChild("reason", idwc_reason)

     if l1 < 0 then return

     idwc_reason.dataobject =   'd_adm_commlog_reason_csr'

     idwc_reason.SetTransObject ( SQLCA )

     idwc_reason.Retrieve ()

END IF


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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