I have a report window with an empty datawindow control on it used to display reports. A non visual user object determines which report is asked for, retrieves the reports datawindow syntax from the database, creates the datawindow in a work pbl and retrieves the report. It then uses GetFullState from the report and uses SetFullState on the empty datawindow control to display the report to the user. (hope that all made sense and forgive me if I'm asking again).
I'm getting "load of the nested report d_...... failed" at SetFullState.
The report having issues is a composite report with over a dozen nested reports. The datawindow in the error is one of the nested reports.
I guess I'm unclear what SetFullState does that it complains where retrieving the report does not.
Code snippet....
// Retrieve the Report
ids_report.SetTransObject(SQLCA)
ids_report.Retrieve(il_entityid)
ids_report.GetFullState(lblb_data)
li_rc = ldwr_Datawindow.SetFullState(lblb_data)
idw_Datawindow = ldwr_Datawindow
ids_report is a composite report
ldwr_Datawindow is of type datawindow
idw_Datawindow is the datawindow control visible to the user