Skip to Content

Retrieve datawindows with subreport

Jul 25, 2017 at 10:33 PM


avatar image


I have on dw with 2 subreport (report object), each report object have 1 subreport (report object)

When i retrieve data only show to 2 subreport, but no data from 1 subreport. Why?


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

A V Jul 26, 2017 at 03:54 PM

Make sure you have specified proper retrieval arguments for your nested dws. Also check the child dw in the dw painter to make sure that it retrieves the data you are expecting when supplied with the same retrival arguments.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your answer, each dw retrieve data, but no in nasted dws on 3th level.

This is my dws:

When i retrieve in dw1, show data of dw2 but no of dw3. All arguments are correct.



subreport.jpg (26.2 kB)

Are you supplying the proper retrieval arguments to dw3? Also make sure that you have set proper heights or autosizeheight.

You can also try to retrieve in code:

DatawindowChild    ldwc_2, ldwc_3

// Get child level 2 dw_1.GetChild ('column', ldwc_2) // Get child level 3 ldwc_2.GetChild ('column', ldwc_3) ldwc_3.SetTransObject (SQLCA) ldwc_3.Retrieve ()