Posted on 2000-05-07
Two questions with a common thread:
I have a simple report (done) that needs a simple Table of Contents (done, and in place as a subreport, but I've disassociated it for now, partly because I couldn't force a page break at its end...make that an added value item!). The TOC needs to pick up the page numbers from the generated report pages (per item of course). I'm guessing the secret is in some code in the Print event of the report? ... but do I need to bury any hooks in the underlying tables?
Then: I got "creative" and tried out the export-to-html function. Overall, not bad. BUT I need to build (this time, two levels of) TOC pages hyperlinked to the detail below. Can I make Access do the work? It's generating the pages and knows their titles, tho I could probably guess most of string (up to the sequence number). What function could I put where to make this happen?
many thanks as usual!
Ask for more points if it's trickier than I think!