Solved it myself, thanks for looking.
And, in the spirit of the Forum, that solution was...?
My solution was to give every player an initial record of a zero score. I then ignored that score in further calculations of averages, etc...Thus the record FIND always came up with at least one record, which I ignored, but no error message.
A simpler way to disable the dialog:
Set Error capture [on]
Set error capture will supress the "no records" dialog box from popping up and you can use get ( foundcount ) to check to see if any records were found.
On a design note: Why on earth are you using a script to "go through the scores one player at a time to total each players scores" ?
This sounds like an something that could be done with either a calculation or summary field with no scripting at all needed.
Of course there is more to it.
I could have up to 25 players each with up to 25 scores and I am keeping a tally of the total of up to the top 13 scores for each player.
First I get all scores, find those of a specific player then sort them in inverse order of scores because I want to total only the top 13 of a total of up to 25 scores. I then go through them until I get to the last record, or the 13th record in the series, log the total and move on to the next player. It works very well, and since my phony zero record is always at the end of the list it is of no effect.
Thanks for the tips on error capture and foundcount I will try them out and keep them in mind.