datawindow - Accessing nested report powerbuilder -
datawindow ldwc_addpay dw_1.getchild("dw_addpay",ldwc_addpay) if ldwc_addpay.rowcount() <> 0 li_nestctr = 1 ldwc_addpay.rowcount() ls_payamt = ldwc_addpay.getitemstring(li_nestctr,"pay_amt") if not isnull(ls_payamt) , trim(ls_payamt) <> '' ls_payamt = in_cryptoapi.of_decrypt(ls_payment,"key") ldwc_addpay.setitem(li_nestctr, "pay_amt_dummy", double(ls_payamt)) setnull(ls_payamt) next end if
2nd row , returns nothing (zero) 1st row return exact value. **every row has salary deduction etc..
getchild()
won't do. use dot notation instead.
Comments
Post a Comment