Skip to Content
avatar image
Former Member

Retrieve datawindows with subreport


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?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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 ()