A:
Code: Select all
DimensionSortOrder (cDim01, ‘ByName’, ‘Ascending’,‘ByHierarchy’, ‘Ascending’);
Code: Select all
CellPutS(‘BYNAME’, ‘}DimensionProperties’, cDim01, ‘SORTCOMPONENTSTYPE’);
CellPutS(‘ASCENDING’, ‘}DimensionProperties’, cDim01, ‘SORTCOMPONENTSSENSE’);
CellPutS(‘BYHIERARCHY’, ‘}DimensionProperties’, cDim01, ‘SORTELEMENTSTYPE’);
CellPutS(‘ASCENDING’, ‘}DimensionProperties’, cDim01, ‘SORTELEMENTSSENSE’);