5 Replies Latest reply on Oct 12, 2016 3:36 AM by coherentkris

    Scripted Find showing last hit twice.

    JohnNiebler

      Hello all,

       

      I have a scripted find looking for all records within a date range.  It works fine except the last hit the Find finds is repeated.  It is counting this last one as a separate hit, also.  In this example, the final two rows are the same, but the hit count is incremented. (So it's not just a display fluke.  The Found Set has two entries when it should have only one.)

      Script is tied to a button in the List Layout

      Enter Find Mode []

      Set Field [Tracker::Lesson 1; Individual::GlobalStartDate & ".." & Individual::GlobalEndDate]

      New Record/Request

      Set Field [Tracker::Lesson 2; Individual::GlobalStartDate & ".." & Individual::GlobalEndDate]

      New Record/Request

      Set Field [Tracker::Lesson 3; Individual::GlobalStartDate & ".." & Individual::GlobalEndDate]

      Perform Find[]