I have created a subreport that queries a different table than the main report. If I run the query, it returns the desired row. If I view the subreport, it shows the desired data. If I run the Main report, the subreport is not there. I have stepped through the code and found that the subreport has no data (according to the hasdata function). If it has no data, then why is there data in the query and on the subreport? What am I missing?