Hi All,

I have a report that must be able to run in environments with a
different number of financial dimensions.

I would like to end up code that does not need to be modified if I
add or delete to the number of financial dimensions.

The code I use in my query looks like:

    queryRun.query().dataSourceTable(tableNum(CustTrans)).addRange
(fieldId2Ext(fieldNum(CustTrans, Dimension),1)).value(queryValue
(dimension[1]));

    queryRun.query().dataSourceTable(tableNum(CustTrans)).addRange
(fieldId2Ext(fieldNum(CustTrans, Dimension),1)).value(queryValue
(dimension[2]));


etc.

Is there a way I can check the number of dimensions at runtime and
then add my query statements depending on the number.

Cheers,

Carsten Hoeck









SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to