Building the Global Code Dashboard
In order for any section of the Interactive Reporting document to access functions
stored in the CCR, the functions need to be globally declared as part of the
document start-up process. If the necessary code was directly assigned to the
document object's OnStartup
event, the code would be run
when the document was opened before any other actions were performed by the client.
While this would ensure the functions are declared before any report object attempts
to call them, code errors, such as an infinite for loop, will cause the document to
become unstable and irrevocably corrupt. To avoid this hazard, use the techniques
explained in Chapter 5, Building the Dashboard
Framework to alternatively mange the document start-up
processes.
Creating the Global Code Dashboard
Once the query is configured...