Yes, I have a report with 26 sections and each section has a single subreport in it. The report works as long as I don't put any more than 16 subreports in it. As soon as I add a 17th subreport I get an "index out of range" error.
As I understand it the section codes are as follows:
ALL SECTIONS = 0
PAGE HEADER = 2000
PAGE FOOTER = 7000
REPORT HEADER = 1000
REPORT FOOTER = 8000
GROUP HEADER = 3000
GROUP FOOTER = 5000
DETAIL = 4000
So if I have 26 detail sections their indexes should start at 4000 and go all the way to 4975 in increments of 25, which would theoretically allow for up to 40 sections and 40 sub reports. My 16th subreport is index 4400 but if I add a 17th sub report it craps out on me and I cannot figure it out. If my theory is right is should work...
shouldn't it?