Help! I'm using fpw2.5 (out of my control to upgrade) to create a report. This report is from 2 related tables & is sorted by a "title". Each different "title" is started on a new page. I need to make a table of contents with the titles & their beginning page numbers. (Title "A" starts on page 1 & ends on page 3, Title "B" starts on page 4 & ends on page 8, etc...) so the TOC would need to be like:<br>A.................................1<br>B.................................4<br>I realize I probably have to use a user defined function to save each new title & its page number, but I have no earthy idea how to accomplish this! I've tried (very poorly) to save it to an array, but I suppose I just don't know what the heck I'm doing, because I can't seem to get it right. I'll get all combinations of wrong info - i.e. correct titles, wrong page numbers...correct titles, no page numbers...no titles, good page numbers. <br>Please help - thank you for any response!