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

Re: PB Newbie - dddw style

$
0
0

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-

 

  1. datawindowchild lwdc   
  2. long ll_row     
  3. string ls_employee_id 
  4. GetChild <DW column name>, ldwc )  
  5. ll_row = ldwc.Find ( 'person_id=' + long ( data ), 1 , ldwc.RowCount() ) 
  6. if ll_row > 0 then  
  7.   ls_employee_id = ldwc.GetItemString ( ll_row ,<third DDDW column name>
  8. end if 

Viewing all articles
Browse latest Browse all 2300

Trending Articles



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