on 06-04-2010 7:19 PM
We are using Crystal Reports 11.0.0.1282 and have a report with a subreport and trying to use columns in the subreport. We get columns if we use across then down, but get a single column if we choose down then across (which is what we want to use). Any ideas?
Tangun,
I have the same issue. I have a report containing 3 subreports 'DetailSection1 - 3', these subreports are 4 columns, down then across. I know the 'count' of the records required for each report (varies for each report), using the ds.dataTable.Count property, I also know that the row height is 196 units. I would like to "Set rpt.SubReport.Height = (196 * (Count / 4))". Setting this height, will then allow the next subreport to be dynamically moved to just below the previous subreport, and then the third in the same way.
If you (or anyone else) has come up with a work around for this I'd appreciate hearing from you.
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tangun,
Are there enough records in the subreport to force a new column when down and then across is set? The number of records in the first column will depend on the page height and header/footer heights not the height that the subreport is set to in the main report. Try using a custom page size in the subreport with a smaller height value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.