4 Replies Latest reply on Mar 28, 2014 9:40 AM by alejandrogarcia

    is it possible to have a script that halt when a number is reached?

    alejandrogarcia

      Title

      is it possible to have a script that halt when a number is reached?

      Post

           Hi! and thanks for your help is highly appreciated, I'm new using filemaker pro 11 , I start a project for a condominium & the idea is to let people at the front desk to print only 10 visitor pass by month for residents, since I was not able to control the number of prints ,I been able to have a field that counts the number of parking pass , how can I write a script that could halt the script when that field reach 10? the printing script is working fine, is just the script to get that number to stop the script, I have tried next:

           if

                ${PO Directory 11-24-03 Old}::No.of Visit. P > 10

                Halt script

                

           End if

           Perform Script ["print parking pass"]

            

           I know is all wrong but I'm completely new, thanks a lot for your help.

            

            

      PODAt.png