- Albert John
- PowerBuilder
- Thursday, 27 May 2021 03:27 PM UTC
Hi guys
I was trying to retrieve a composite datawindow, the datawindow was combined by about 15 datawindows which has a retrieval agrument which was a string ,I tried the code below it just DID NOT wrok as my expected ,it always poped up the the specify retrieval agrument dialog box even the result was OK,any idea how to deal with this issue? thank you so much
DataWindowChild ldwc_child
string ls_dw
dw_print.reset()
for ll_row=1 to 15
ls_dw="dw_"+string(ll_row)
dw_print.GetChild (ls_dw, ldwc_child)
ldwc_child.settransobject(sqlca)
ldwc_child.retrieve(ls_listno)
if ll_row=1 then
ldwc_child.setitem(ldwc_child.rowcount(),"hosp_lv","11")
end if
next
dw_print.visible=true
dw_print.print()
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.