-
vinothini rajasekar
- PowerBuilder
- Friday, 2 January 2026 06:00 AM UTC
Hi All,
I am getting -1 for this line" ldc_e1.GetChild("computer_parts", dwc2) = 1 " due to that I could not be able to retrieve the report within the Nested report. kindly suggest on this.
DatawindowChild ldc_e1,dwc2
dw_2.GetChild("e1_list", ldc_e1)
ldc_e1.InsertRow(0)
ldc_e1.SetItem(1, "section", "A")
ldc_e1.SetItem(1, "field_value", "Computer")
IF ldc_e1.GetChild("computer_parts", dwc2) = 1 THEN
dwc2.SetTransObject(sqlca)
dwc2.Retrieve()
END IF
Note: I have noticed the below point from the Help file.
"You cannot use GetChild to get a reference to a report in a composite DataWindow when the report itself is a composite or nested DataWindow."
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.