IStdDimOrder.Attribute

Syntax

Attribute: IStandardDimAttribute;

Description

The Attribute property returns properties of the attribute by which table dictionary is sorted.

Example

Sub Main;

Var

MB: IMetabase;

Dimens: IStandardDimension;

DimAttrs: IStandardDimAttributes;

DimOrd: IStdDimOrders;

Order: IStdDimOrder;

s: String;

Begin

MB := MetabaseClass.Active;

Dimens := MB.ItemById("TAB_DIM").Bind As IStandardDimension;

DimAttrs := Dimens.Attributes;

DimOrd := DimAttrs.Orders;

Order := DimOrd.Item(0);

s := Order.Attribute.Id;

End Sub Main;

After executing the example the "s" variable contains the first attribute ID, by which the table dictionary is sorted.

See also:

IStdDimOrder