Versions 10 and 11, MS Access ODBC using a command. All running on Vista.
I inserted a subreport into a blank container report that has nothing in it but parameter fields (no tables or data fields).
When I preview, the subreport appears empty.
If I click on the subreport it runs - as if it was an "on demand" subreport (which it is not).
If I add a table and a single field to the container, then the subreport runs immediately on preview.
If I delete that field from the container, the subreport vanishes again.
So it appears that a subreport won't run unless there is at least a single record of data in the main report. But I am pretty sure I have seen empty containers that run subreports and I wonder if there is something I have forgotten. Anyone have an idea on this?
Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guides to Formulas, Parameters, Subreports, Cross-tabs, VB, Tips and Tricks
I inserted a subreport into a blank container report that has nothing in it but parameter fields (no tables or data fields).
When I preview, the subreport appears empty.
If I click on the subreport it runs - as if it was an "on demand" subreport (which it is not).
If I add a table and a single field to the container, then the subreport runs immediately on preview.
If I delete that field from the container, the subreport vanishes again.
So it appears that a subreport won't run unless there is at least a single record of data in the main report. But I am pretty sure I have seen empty containers that run subreports and I wonder if there is something I have forgotten. Anyone have an idea on this?
Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guides to Formulas, Parameters, Subreports, Cross-tabs, VB, Tips and Tricks