3 Replies Latest reply on Sep 27, 2014 6:26 PM by RickWhitelaw

    Set a variable combining text and current date

    sccardais

      Title

      Set a variable combining text and current date

      Post

      I want to set a variable that takes the form of "YYYY-MM - text string".

      I want to use this variable to set the value of a field in a group of newly created records.

      For the LIFE of me (!), I have not been able to do this using multiple variations of the Let function. The last being:

      Set Variable $$CohortName

      Let (N = Get(CurrentDate); Date(Year (N); &"-"& Month(N); & "- text string"

      This is not working. What is wrong with this?