CreateRegion: Boolean;
The CreateRegion property determines whether table region will be created in regular report.
Available values:
True. Default. Region will be created.
False. Region will not be created.
Table region is an object of the ITabRegion interface. The attribute showing that table region is present in the regular table is a blue triangle in the left top table corner.
Executing the example requires that the repository contains a regular report with the REPORT identifier. An analytical data area is created in the report.
Add links to the Express, Metabase and Report system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Report: IPrxReport;
Grid: IEaxGrid;
ViewSets: IEaxGridViewSettings;
Begin
// Get table
MB := MetabaseClass.Active;
Report := MB.ItemById("REPORT").Edit As IPrxReport;
Grid := Report.DataArea.Views.Item(0) As IEaxGrid;
// Get settings of table view
ViewSets := Grid.ViewSettings;
// To not create region
ViewSets.CreateRegion := False;
// Display only data
ViewSets.OutputPart := EaxGridOutputPart.Data;
ViewSets.OutputRange := "A7:G12";
// Display hyperlinks as a text
ViewSets.HyperlinkAsText := True;
// Save changes
Report.MetabaseObject.Save;
End Sub UserProc;
After executing the example the regular report table displays value area in the specified range. The region for the value area is not created.
See also: