So I have a layout in my database that I set an OnLayoutEnter trigger to trigger a particular script. Now every time I try and switch to that layout via the layout dropdown, filemaker freezes up and I loose my cursor- i end up having to forcequit filemaker in order to restart it and remove the scrip trigger. The script itself runs fine, and the layout is fine without the script trigger. Can anyone help me figure out what I'm doing wrong?
The script is a basic find, searching for a particular value from a value list and then sorting based on a different set of values (by last name, so it's a basic ascending sort).