Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create a dynamic table of contents for a report

Status
Not open for further replies.

scobey

Programmer
Jun 22, 2000
7
0
0
FR
I would be very grateful if someone could help out on this.

I need to create a table of contents for each group header, so if the first group fits, say two pages, then the numbering would be as below. Each change of group would be a new report section.

Product Type From Page To Page
Widgets 1.01 1.06
More Widgets 2.01 2.04

table of contents is a subreport within a report
within the main report there are sections - e.g. each time product type changes start with a new section number

each time group changes the table of contents needs to create a new line detailing start and end page for each group. i.e. So on each change, the section number is incremented by 1 and the page number is reset to 1.

Anyone, help, please!?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top