• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Making number of rows equal in subreports

Experts,

I have 7 subreports that display the same type of information for each day of the week. There is one MealNameHeader (Breakfast, Lunch, or Dinner) and one field, named Food, in the Details of each subreport. Since not all meals will have the same number of foods, the subreports will not be even. I was wondering if there is a way to force each MealNameHeader to display a certain number of rows, say 10? So, for example, Lunch will appear on the same row of each subreport.

Thank you, James
0
jdallain
Asked:
jdallain
1 Solution
 
peter57rCommented:
The number of rows in a subreport reflects the number of records to print.
If you want the same number of rows then you must ensure that there are the same number of records.

That probably means that at some point near the start of your data input process you must create several batches of records all having the same number of records, with the appropriate id fields and any other common fields set.  You would then update those records in the input procedure, rather than create them as you do the input.  However, this means you must be able to  predict the max number of records for each meal .

I don't think I'd be rushing to do this myself...sounds pretty messy.
0
 
jdallainAuthor Commented:
Thanks peter57r! I thought there might be an easier way. I'll just add blank records for now.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now