Edit TextObject merged report after prepare
Since my bookmarks doesn't work well I try to build a Table Of Contents (TOC) manually.
I merge a couple of .frx files into 1 report. After loading a report I give the command .prepare(true). Is it possible to change the text of objects from 'older' reports?
For example 5 .frx files:
Report intro page
Report TOC
Report 1
Report 2
Report 3
Before loading new reports I store the current page value. For each report I want to update the TOC manually with the page number. Before .prepare the report file it works fine, but after .prepare it doesn't. After the .prepare I can't find the object anymore. I even tried to get the object into a variable before .prepare and try to edit this variable after .prepare, but it doesn't work either. The variable still contains the right textobject, but after updating the .text value, the textobject on report doesn't change.
When this is not the right way to build TOC, what do you advise when merging different .frx files into 1 report?
I merge a couple of .frx files into 1 report. After loading a report I give the command .prepare(true). Is it possible to change the text of objects from 'older' reports?
For example 5 .frx files:
Report intro page
Report TOC
Report 1
Report 2
Report 3
Before loading new reports I store the current page value. For each report I want to update the TOC manually with the page number. Before .prepare the report file it works fine, but after .prepare it doesn't. After the .prepare I can't find the object anymore. I even tried to get the object into a variable before .prepare and try to edit this variable after .prepare, but it doesn't work either. The variable still contains the right textobject, but after updating the .text value, the textobject on report doesn't change.
When this is not the right way to build TOC, what do you advise when merging different .frx files into 1 report?