What I wanted to do was code buttons with something like: 3P where the 3 could be used to call record number 3 and the P could be used to trigger GoForm "P" (hence the ENDSWITH) I can easily work around this, but am surprised the ENDSWITH does not work for the Button name. Willard