9 Replies Latest reply on Jan 3, 2016 7:06 PM by iking42

    I have a subscript that will not perform as expected without inserting "Pause" commands following 'go to record' commands.

    iking42

      FM Pro 14:

      I have a subscript that does not perform as expected. The section in question:

       

      This Works as a standalone script but does not work as a sub script.

          Go to Record/Request/Page [No dialog; $UpperLimit]

          Go to Record/Request/Page [Mo dialog; $LowerLimit]

          Go to Record/Request/Page [Mo dialog; $CurrentRecord]

       

      This works in both cases

          Go to Record/Request/Page [No dialog; $UpperLimit]

          Pause/Resume Script [Duration (seconds): .5]

          Go to Record/Request/Page [Mo dialog; $LowerLimit]

          Pause/Resume Script [Duration (seconds): .5]

          Go to Record/Request/Page [Mo dialog; $CurrentRecord]

       

      $UpperLimit and $LowerLimit are fixed offsets from $CurrentRecord location on displayed records. Problem is to make the list always center on a given record, in this case $CurrentRecord. The workaround is effective but I would like to know why it is necessary.

      Ike King