1 2 Previous Next 18 Replies Latest reply on Jul 18, 2017 6:41 PM by tinhx7

    Script: Go to next portal row switching portals?

    openspace

      I have two portals on one layout, portal1 and portal2. I have a script that is looping through the portal records of portal2 that uses an if statement to set a flag. Using the script debugger I noticed that the loop never exits, instead when it gets to "go to portal row next, exit after last" it jumps to the first portal row inside of portal1 and starts looping though the wrong portal. How can I get this rogue loop to stay put?

       

      quick ex of my script:

       

      freeze window

      go to object portal2

      go to portal row first

      loop

      if (flag=1)

      set field

      end if

      go to portal row next, exit after last

      end loop

       

      I should also note: I do not have any triggers with the portal row nor the portal. i'm running fm13.

       

      Message was edited by: Jacquelyn Bortolussi

        1 2 Previous Next