Click to See Complete Forum and Search --> : In-Place Subreport


nickolsen
November 10th, 2008, 03:11 PM
I have a report with a subreport embedded in the details section. When I look at the report preview within VS I see the data from the subreport show up on the main report, no drill down necessary. But, when I run the report from the actual application while debugging, there is just a place holder for the subreport and no data. I have to click the placeholder to open the subreport.

How do I make is so when I run the applicaiton and report, the subreport data appears along with the main report?

The sub report does not have the On-Demand subreport checkbox checked.

nickolsen
November 11th, 2008, 11:56 AM
So after a while of playing around I finally figured out what was wrong. The subreport has only one field in it and that filed was longer than the whole subreport field on the main report. I guess for some reason it won't shrink it down. So, I just decreased the length of the field in my subreport and it worked fine.

Who would have thought...I know I didn't at first