AnsweredAssumed Answered

1st Script Help

Question asked by MarkRuddeforth on Dec 16, 2013
Latest reply on Dec 17, 2013 by MarkRuddeforth


1st Script Help


     Built my first script to change the value of a field based upon the existence of an entry in a date field - and of course it doesn't work......

     Go To Layout [ "CUSTOMERS" (CUSTOMERS) ]

     Go To Record/Request/Page [First]


          If [ IsEmpty (CUSTOMERS::CONTRACTDATE) ]

                Set Field [ CUSTOMERS::CONTRACT["E"] ]


                Set Field [ CUSTOMERS::CONTRACT["X"] ]

          End If

          Go To Record/Request/Page [Next: Exit after last ]

     End Loop


     See anything obvious as to why it does nothing? Is there a way to print a message to the screen during a script execution - that would help me with debugging....