Hello,
I have created a master report and a sub report.
The datasource code for the master report is present in the code behind file where I have the viewer control.
The datasource code for the sub report is present in the code behind report file itself.
Opening the sub report in the Design mode has no problems at all. I insert the sub report control in the detail area of the master report. But now as I go to the properties of this control to point to the sub .vb report file in the 'ReportSource' property, I get an alert box saying 'object reference Not set to instance of an object'. Both the report files are in the same app_code folder.
Can you suggect what is the problem?
Thanks,
Sanjay
I have created a master report and a sub report.
The datasource code for the master report is present in the code behind file where I have the viewer control.
The datasource code for the sub report is present in the code behind report file itself.
Opening the sub report in the Design mode has no problems at all. I insert the sub report control in the detail area of the master report. But now as I go to the properties of this control to point to the sub .vb report file in the 'ReportSource' property, I get an alert box saying 'object reference Not set to instance of an object'. Both the report files are in the same app_code folder.
Can you suggect what is the problem?
Thanks,
Sanjay