Hi, All
I have a problem with this code:
*FOR %APOIO% = %TIME_SET%
*SELECT(%MYYEAR%,"[YEAR]",TIME, "[ID]=%APOIO%")
//*SELECT(%MYYEAR%,"[YEAR]",TIME, "[ID]=2012.JAN")
*SELECT(%TIMESET%,"[ID]",TIME, "[INP_MONTH]=%MYYEAR%")
<run allocation command>
*NEXT
When I select the first rule to calc %MYYEAR% the script doesn't save without error and if I only save it doesn't work (I receive a miising error when I send data by input schedule).
When I select the second rule to calc %MYYEAR% the script works.
How can I run the *FOR command when %TIME_SET% has more than one member and it is dynamic?
Could anybody help me?
Tks,
Ana Teresa