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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create an index for a report...

Status
Not open for further replies.

AcnA

Programmer
Apr 9, 2003
11
CY
I need some help on how to create an index for my report.
I have a report with one group and i need to put at the end of the report an index page that will have on it the name of each category and the page that the information of that category is placed on the report.
I have already tried to put a string in the group header that stores each group and the page that it begins and also i have put at the group footer another string that contains the page that the group ends. But this works only for a number of groups. Problems appear when i have large number of groups and therefore the string size reaches 255 characters.
Anyone having an idea on how to find those pages for each group?
 
It seems that is not a good solution because i am having problems with the array that is used because i have too many data and the reports genarate error message about the size of the array.
 
Hi again !

Ok, well thats a problem. The limit of positions for an array in version 8 are 999.
Have you tried to exceed the array? The sample report has a size of just 300 positions.
Maybe that can help. Otherwise I don´t know.

/Goran
 
goranm thanx...
i have tried it again with some changes and it worked.
Thanx a lot....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top