Skip to Content
0
Former Member
Oct 03, 2009 at 05:55 PM

%year% in lookup command

18 Views

Hello,

I'm trying to get a value using lookup, but this value depends on the time that is entered, so I need set this value as a variable.

The code I'm trying to make work is:

*LOOKUP LEGAL

*DIM JAN: TIME=%YEAR%.JAN

*ENDLOOKUP

So that, depending on the year I select, the value retrieved is different. However, %year% is not taken as a variable.

Does anyone knows how to retrieve the value for 2009.JAN using a variable for the year?

Thanks and regards,

Ana