what is the easiest way to work out a year based upon a value answer to a question

Comments

2 comments

  • Avatar
    Chris

    Hi Brian.

    The correct way to do this would be:

    SetCover:Result

    Now.Year-[ClientYearsLicenceHeld]

    however in your case because your using a drop down menu and we have found a bug in this section that stops the correct way from working a work around to do this would be to add to the rating something like the file i have attached for you.

    Where 'Result' would be where you want to output the value.

    Hope this helps!

    Chris




    license-date-question.JPG
    0
    Comment actions Permalink
  • Avatar
    Chris

    Hi Brian,

    If you can reply via the forum :) the no-reply email doesnt go to me almost missed your message! but yes Now.Year should work, and if you use Now.Year you dont need to hardcode a year in because when it gets to 2013 it will just calculate the answer using 2013 instead of 2012.

    kind regards

    Chris

    0
    Comment actions Permalink

Please sign in to leave a comment.