4 Replies Latest reply on Jul 11, 2016 12:01 PM by bigtom

    cursor will not move to selected field

    ShawnFitzgerald

      Trying to write a script that takes values in fields and upon entering a number into a field the script is run and adds values into fields in a portal on the layout then returns the cursor to the original field. 

      To Explain I am using a Scanner to auto enter in part numbers and then add a quantity into a field and then return to the input field so that it can be done over and over again.

      The problem I am having is that no matter what I try after the script is run it always leaves or moves the cursor into the wrong field.

      I have copied the script  below can anyone help.

       

      part add script.jpg