FillTabSheet: Boolean;
The FillTabSheet property determines whether data will be displayed in analytical area on opening a report for edit.
Available values:
True. On opening a report for edit, data in analytical area is displayed.
False. On opening a report for edit, data in analytical area is not displayed.
The FillTabSheet property use enables optimizing the analytical data area work.
Executing the example requires to have a regular report with the REGULAAR_REPORT identifier containing analytical data area.
Add links to the Express, Metabase, Report, Tab system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Report: IPrxReport;
PivSlice: IEaxDataAreaSlice;
Grid: IEaxGrid;
Begin
// Get repository
MB := MetabaseClass.Active;
// Get regular report
Report := MB.ItemById("REGULAR_REPORT").Edit As IPrxReport;
//Get analytical data area slice
PivSlice := Report.DataArea.Slices.Item(0);
// Get table view
Grid := PivSlice.Views.Item(0) As IEaxGrid;
//Disable data display in analytical data area
//On opening a regular report for edit
Grid.FillTabSheet := False;
// Save report
(Report As IMetabaseObject).Save;
End Sub UserProc;
After executing the example, data will not be displayed for editing in analytical area on opening regular report for edit. To display data, refresh regular report.
See also: