ShowSourceName: Boolean;
The ShowSourceName property determines whether source names are displayed in composite dictionary element names.
Available values:
True. Source name is always displayed in composite dictionary element names.
False. Default value. If all fixed dimensions differ in sources (dimensions are based on different dictionaries), source names are not displayed in dictionary names. If there is at least one matching dimension in the sources (different source dimensions are based on one dictionary), source names are displayed in composite dictionary element names. In this case only names of the sources with matching dimensions are displayed.
Executing the example requires that the repository contains a virtual cube with the VirtCube identifier.
Sub UserProc;
Var
MB: IMetabase;
VCube: IVirtualCube;
Dimension: ICompoundDimension;
Begin
Mb := MetabaseClass.Active;
VCube := MB.ItemById("VirtCube").Edit As IVirtualCube;
Dimension := VCube.FactDimension As ICompoundDimension;
Dimension.Sources.ShowSourceName := True;
(VCube As IMetabaseObject).Save;
End Sub UserProc;
After executing the example virtual cube facts dimension parameters are changed: element names always display source names.
See also: