AS2005: how to retrieve the "currentaxis" of a member? -
07-07-2006
, 12:12 PM
Hi,
I want to know in which axis a dimension is currently used.
I'm using this formula:
iif(VBA!ISERROR(extract(axis(0) , [dimension].[attribute]).count ),
iif(VBA!ISERROR(extract(axis(1) ,[dimension].[attribute]).count ),2,
1),0)
but maybe there is a more beautyfull solution?
jerome. |