I've searched through Scripting Guide and the Scripting Index, but can't find a way to do what I want to do.
Here's the task:
[create master window for full report]
::winOut = New Window( "FullReport_" || Substitute( Abbrev Date( Today() ), "/", "-" ),
::vListOut = V List Box()
::dtMain = Current Data Table();
::dtMain << Clear Select;
[easy append example]
::boxTemp = Outline Box( "** Variablity Charts for All Weeks" );
::boxTemp << Append( (::dtMain << Run Script( "VarChart" )) << Report );
::vListOut << Append( ::boxTemp );
Here's the problem:
And, as a second problem, could someone please explain the following behavior?
::dtMain << RunScript( "Distributions" );
::repCurrent = Current Report();
::boxTemp << Append( ::repCurrent[Outline Box( "Distributions" )] );
Special note "::boxTemp<<Append(::repCurrent);" does not work at all for some reason
Does anyone know why I need to use "Current Report"?
For my first problem, there will be multiple outline boxes within the report that need to be copied over, so it's not going to be as straight-forward as the example above. Is there anyway to take a save report object that was initialized via "Current Report()" and use the "Append" function on that report object without having to specify an object (i.e., how do I tell it to append the ENTIRE report object's contents, and not the specific contents of an outline box contained within a report).