1. John Murphy
  2. PowerBuilder
  3. Friday, 8 February 2019 01:57 AM UTC

I built a composite datawindow to allow a user to print two dw's on a single page. I am using sharedata on the dwc's to populate the dw's.  When I call sharedata on one of the dw's it pops the "specify retrieval arguments" window.  Any ideas what is causing this? There was a dddw in the dw but AutoRetrieve was off and the arguments we not the ones requested.

dw_print.Reset()

ll_status = dw_print.GetChild("dw_header", dwc_header)

if ll_status > 0 then
ll_status = dw_main.ShareData(dwc_header) // this is where the box pops
end if

ll_status = dw_print.GetChild("dw_invoices", dwc_invoices)

if ll_status > 0 then
ll_status = dw_invoices.ShareData(dwc_invoices)
end if

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 8 February 2019 15:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi John;

  Did you follow your code in the PB Debugger to find which DWC share is causing the Retieval Arguments to activate? If so, it might be more than one DDDW firing or another child DWO within that child DWO.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.