2 Replies Latest reply on Sep 11, 2012 11:47 AM by Stephen Huston

    Re: OnOpen/OnLayoutEnter Scripts

    jandrewbier3

      I have a script that activates when the file opens (File>File Options...>Perform Script) that should send a certain user (by "Get (AccountName)") to a layout (I'll call "layout_a") where another script should activate by the OnLayoutEnter script trigger. The OnLayoutEnter script should return only a certain amount of records. However, I found that after opening the file with that username to layout_a, the script got me to the layout_a but showed all records. First, I figured the problem was that the OnLayoutEnter script was broken, but after going to another layout and returning to layout_a, the script worked. So, I don't know what the problem is. Any ideas?