AnsweredAssumed Answered

Script freezes OnLayoutEnter but works via button trigger?

Question asked by kenster88 on May 29, 2018
Latest reply on May 30, 2018 by ThierryGuemboura

Hi Folks,


I'm new to FM so speak slowly, please.


My script runs fine when triggered by a button on my form. It loops through all of the records and performs the actions as desired.


However, when I set script trigger OnLayoutEnter the scripts gets stuck at various stages and I eventually have to press command period. I don't have the debugger.


Any ideas? Also, if you have any comments on how I might have streamlined this a bit, or any superfluous lines, I'm learning and grateful for advice. I am just building this one database for myself and not interested in delving into SQL, though.


Also, how to copy and paste from the script editor?





Screen Shot 2018-05-29 at 11.23.24 PM.pngScreen Shot 2018-05-29 at 11.23.40 PM.png