3 Replies Latest reply: Jan 10, 2017 2:57 AM by Steen Schlüter Persson RSS

    Problem when loading variable from script

    Steen Schlüter Persson



      I'm having a problem when I load a variable from my script.


      I'd like to create a variable like below -


      Set gvMonthID = Only({1<[Date_Key] = {"$(=Date(Today(),'YYYY-MM-DD'))"}>} MonthID);


      It actually load fine without any problems, but in my application it appears as : Only({1<[Date_Key] = {""}>} MonthID)

      I simply can't figure out how to prevent it from resolving the $(=Date(Today(),'YYYY-MM-DD')) part when loading, but still include the '$' so it will be resolved in my application. It's most likely very simply and obvious, but I just can't get it right.