cancel
Showing results for 
Search instead for 
Did you mean: 

Question about columns in subreport

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

If you put your subreports in consecutive tight* sections, they should print one after the other without worrying about height.

  • Make your sections smaller than the actual report height

Answers (1)

Answers (1)

former_member260594
Active Contributor
0 Kudos

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.