2 Replies Latest reply on Mar 1, 2010 9:58 AM by carolynhaywood

    Loop Problem

    carolynhaywood

      Title

      Loop Problem

      Post

      I have a loop in a script as follows:

       

      Loop

      If(Invoices::invoice status = "Closed" or "Void" or "On Hold"

        Go to Record/Request/page [Next]

      End if

      Exit Loop if (invoices::invoice status = "Open"

      End Loop

       

      Watching the script debugger, it shows that when the script gets to the record "Void", it skips the "go to next record request "resulting in a continuous loop.

       

      What am I doing wrong?

       

      Thanks

      Carolyn Haywood

      FMP 10 Advanced Mac 10.6.2