dwooten is working with me on this problem and posted this for me. So here is more information.
I am using a stored procedure in a crystal report subreport as a datasource. In other words, it looks just like a table.
I have one parameter ?@StudentID in the subreport which is automatically added to the subreport from the stored procedure in crystal. I have linked the StudentID field from the appropriate table in the main report to the ?@StudentID parameter in the subreport.
When I run the report on my developer machine in CR 10, 2008 or 2011 developer, I get results as I should. But when I put the report on my production machine the subreport is blank.
I ran a sql trace to find out why and discovered that the crystal runtime engine is executing the stored procedure with a null parameter.