1. mathews rutto
  2. PowerBuilder
  3. Friday, 29 March 2024 04:18 AM UTC

Hi,

Please help how to pass retrieval argument to a dddw datawindow?

with kind regards.

Accepted Answer
Simone Olianti Accepted Answer Pending Moderation
  1. Friday, 29 March 2024 08:45 AM UTC
  2. PowerBuilder
  3. # Permalink

DataWindowChild ldwc
long ll_id

...

dw_1.GetChild("id", ldwc)
ldwc.SetTransObject(sqlca)
ldwc.Retrieve(ll_id)
dw_1.Retrieve()

Comment
  1. Chris Pollach @Appeon
  2. Friday, 29 March 2024 12:37 PM UTC
Hi Mathews;

In addition to Simone's good code example. You'll also need to turn OFF the "AutoRetrieve" property on the DW's column that's housing the DDDW.

Regards... Chris
  1. Helpful 2
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.