Quantcast
Viewing all articles
Browse latest Browse all 1545

%TIME_SET%.YEAR

Hi,

 

I have a doubt. I would to develop a dynamic scriptlogic but I have problems to recover time set value:

 

*SELECT(%MYVAR%,"[ID]",TIME,"[HLEVEL]='3' AND ='MONTH' AND ='%TIME_SET%.YEAR'")

*XDIM_MEMBERSET TIME = %MYVAR%

*WHEN TIME.PERIOD

*IS "INPUT"

*FOR %ThisMeses%=%MYVAR%

*REC(Time=%ThisMeses%,EXPRESSION=%VALUE%/12)

*NEXT

*ENDWHEN

*COMMIT

 

I believe that the problem is in this line:

 

*SELECT(%MYVAR%,"[ID]",TIME,"[HLEVEL]='3' AND ='MONTH' AND ='%TIME_SET%.YEAR'")

 

Because, when I execute loggic debugger, the system show me that:

 

No records returned by *SELECT(%MYVAR%,"[ID]",TIME,"[HLEVEL]='3' AND ='MONTH' AND ='2010.INPUT.YEAR'")

 

 

I wish that appear the value 2010 when I make the select. In Time dimensión, the value of the column Year of 2010.INPUT  is 2010.

 

Any idea?

 

Thanks!

 


Viewing all articles
Browse latest Browse all 1545

Trending Articles