6 Replies Latest reply: Mar 25, 2014 11:38 AM by Blair Gibb RSS

    Expression works in one document, not another

      Hi All,

       

      Hope this is something easy, but it is driving me crazy.  I have a variable, eLastDayOfMonth, set to this expression:

       

      =date(floor(monthend(addmonths(Today(),-1))), 'YYYYMMDD')

       

      I have a textbox that shows this variable in a document, with this expression:

       

      =$(eLastDayOfLastMonth)

       

      Works great.  In one document.  In another, I copied the same expressions and it displays a dash: -

       

      What could cause this?  Are there document settings that could affect this?

       

      Thanks,

       

      Blair