Hi all...
I have a very interesting and frustrating problem. Here it goes: I have a Crystal report that has a subreport. I'm testing the report with a given set of data for which the subreport is supposed to display two pages. When I preview the report, I see the first page and all is good. But when I click next, I get an empty page.
Now, hear this: If I double click on the subreport while I'm on the first page, I go to the subreport preview and the data is all there. I can see both pages and everything is correct. However, for some strange reason, I cannot see both pages when I'm previewing from the main report.
This is driving me insane! I have been working with this for like a week and haven't been able to solve the problem.
I use a command to grab the data. There are 26 records being retrieved from the database and I know (and I can see) exactly what is being retrieved - I know each record inside and out. The data is correct and everything seems to be in place.
Now I discovered that when I click next, a shared variable which is in charge of hiding/displaying some sections of the subreport is becoming null. I believe this is where the problem lies, but I have gone through every single little formula, section, detail, etc, and there's no reason whatsoever why this variable should become null.
Can anyone shed some light? Other subreports in the same report are formatted in exactly the same way and they display correctly.
I'm running Crystal Reports XI R2 on a Windows XP Pro machine. I'm using .NET 2008 Professional, and I use MySql 5.0 as my database.
If you need more details, please let me know.
Thanks.
_________________________________
I think, therefore I am. [Rene Descartes]
I have a very interesting and frustrating problem. Here it goes: I have a Crystal report that has a subreport. I'm testing the report with a given set of data for which the subreport is supposed to display two pages. When I preview the report, I see the first page and all is good. But when I click next, I get an empty page.
Now, hear this: If I double click on the subreport while I'm on the first page, I go to the subreport preview and the data is all there. I can see both pages and everything is correct. However, for some strange reason, I cannot see both pages when I'm previewing from the main report.
This is driving me insane! I have been working with this for like a week and haven't been able to solve the problem.
I use a command to grab the data. There are 26 records being retrieved from the database and I know (and I can see) exactly what is being retrieved - I know each record inside and out. The data is correct and everything seems to be in place.
Now I discovered that when I click next, a shared variable which is in charge of hiding/displaying some sections of the subreport is becoming null. I believe this is where the problem lies, but I have gone through every single little formula, section, detail, etc, and there's no reason whatsoever why this variable should become null.
Can anyone shed some light? Other subreports in the same report are formatted in exactly the same way and they display correctly.
I'm running Crystal Reports XI R2 on a Windows XP Pro machine. I'm using .NET 2008 Professional, and I use MySql 5.0 as my database.
If you need more details, please let me know.
Thanks.
_________________________________
I think, therefore I am. [Rene Descartes]