SyncIndex: Integer;
The SyncIndex property determines synchronization index of the slice dimension.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
DtSources: IPrxDataSources;
Slices: IPrxSlices;
SliceDims: IPrxSliceDimensions;
SliceDim: IPrxSliceDimension;
i: Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
DtSources := Report.DataSources;
Slices := DtSources.Item(0).Slices;
SliceDims := Slices.Item(0).Dimensions;
SliceDim := SliceDims.Item(0);
i := SliceDim.SyncIndex;
End Sub Main;
After executing the example the "i" variable contains the synchronization index of the first dimension of the first slice of a data source of the regular report. The identifier of the regular report - Report.
See also: