Since you're using windows, you have two buttons labeled "enter" and FMP does not respond to them identically unless you have set the field's behavior accordingly. Which button are you pressing, the enter key just above the Shift button or the one that's part of the numeric key pad? Filemaker treats the one on the numeric key pad as "enter" and the one above shift as "return".
In your shooterFindNumber field, set the behavior so that "go to next object using .... enter" is NOT selected.
Now run your script and press the numeric key pad enter and you should see the response that you want.
Thank you! Thank you! Thank you!
I spent several hours trying every option I could find to get this to work. But now that I have spent the time I will never forget the solution. So simple when you know the answer.
That's two Pizza's I owe you now.:smileywink: