2 Replies Latest reply on Jan 15, 2012 3:49 PM by LWayne_1

    Script - Advancing one record in a Portal

    LWayne_1

      Title

      Script - Advancing one record in a Portal

      Post

      I have a script that does the following:

      1. Goes to Layout 1
      2. Goes to the first row in a Portal
      3. Starts Loop
      4. Copies record information to variables
      5. Goes to Layout 2
      6. Adds new record
      7. Sets Fields with variables in #3 above
      8. Goes back to Layout 1
      9. Goes to Next Row in Portal, Exit after Last
      10. Ends Loop
      The problem is it keeps going back to the 1st row in the Portal and never advances to the next row.  I sure it's is because I go back to Layout 1.  Can someone point me in the right direction?
       
      Thanks in advance.