AnsweredAssumed Answered

Script Help

Question asked by Terri on Dec 5, 2012
Latest reply on Dec 6, 2012 by Terri

Title

Script Help

Post

     I have a layout that has a portal on it. I also have a button outside of the portal that when pushed, will set certain fields outside of the portal to a certain value. That all works great. But I also want the script attached to this button to change a field in each of the rows of the portal as well (actually - delete the contents of this field on all portal rows). I can't seem to get it to work. Here is what I have so far:
      
     Set Field [WorkhorseStyles::SS Style Reviewed; ""]
     Set Field [WorkhorseStyles::SS On Figure Commander Ready; ""]
     Set Field [WorkhorseStyles::SS Laydown Commander Ready; ""]
     Set Field [WorkhorseStyles::SS On Figure Shot Complete; ""]
     Go to Portal Row [Select; First]
     Loop
        Set Field [WorkhorseData::Update Comment; ""]
        Go to Portal Row [Select; Next; Exit after last]
     End Loop
      
     When I watch through script debugger it follows eveything up to the Loop and then I can't seem to see any action.
      
     Any help is appreciated. Thanks!

Outcomes