Hello guys,
I am using applciation builder to select name of report from the list box and its preview will be displayed
// This function will run on selection of each item in list box
reportPreviewPrint = Function( {thisBox},
{Default Local},
//Get selected report name from the list box of open report names
selectedReport = ListPrintReport << Get Selected;
wList = Get Window List( Type( "Reports" ) );
ReportNames = wList << get window title;
previewList = {};
reportTitle = {};
If( N Items( selectedReport ) > 0,
abc = ReportPanel1 << Child;
abc << Delete;
For( j = 1, j <= N Items( wList ), j++,
For( i = 1, i <= N Items( selectedReport ), i++,
If( ReportNames[j] == selectedReport[i],
Insert Into( previewList, wList[j] );
Insert Into( reportTitle, ReportNames[j] );
)
)
);
// After going through all open reports and finding the selected report i display it in the panel box
If( !Is Empty( previewList ),
ReportPanel1 << Append( previewList[1] )
);
ReportPanel1 << Set Title( Concat( "Report Preview/Print Reports/", reportTitle[1] ) );
);
);
My question is there there a way to display this report such that any changes made on this (the panelBox is enabled) will affect the original report (like axis changes or backgound color or legend etc).