Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to create table of contents from a report
Message
From
07/02/2001 00:09:12
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00473315
Message ID:
00473316
Views:
23
Perhaps you could grab the value of _PAGENO in Report1? Or are you already trying to do that?

>I have to create a table of contents from a printed report.
>The way I *thought* I solved this was by 1st printing the report
>(repo form report1.frx to printer prompt preview).
>Then writing a slightly modified report to a text file
>(repo form report2.frx to rpt.txt ascii)
>
>report2.frx has "text identifiers" like 'GROUP TITLE' & 'PAGE NUMBER'
>with the fields I want to capture for the table of contents. I
>open the text file, capture the text after "GROUP TITLE" & "PAGE
>NUMBER" to use to create the TOC.
>
>But the problem I noticed was that the text file & printed report
>have different spacing and throws off how many pages print (i.e. "group
>title" B will be on page 4 of the printed report, & the text file has B starting on page 6, etc)
>
>Maybe there's another way to go about creating this TOC?
>Help anyone?
>Thanks in advance,
>~Marla
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform