The record you started on probably does match the search criteria, though perhaps it isn't obvious how. Start by confirming that your IFO Contact Management::Quick Search field is using global storage. If it isn't a global, then the Quick Find could very well be matching on that field — the contents match the find because you just put them there to do the find. Also check each field on the layout for what is and isn't included for Quick Find.
You solved the problem jbante!
I did have Quick Search enabled in my search field. I disabled it and now the script works fine.
I just upgraded from an older version of FMP which didn't have Quick Search in it so I totally forgot about enabling/disabling the feature in the field.
Thank you very much for your help!
Thanks again for your help with my script.
I'm running into another problem with it now.
When I enter text in the 'Quick Search' field, the text I entered isn't getting deleted from the 'Quick Search' field but only in the record I was in when I perform the search.
As you can see in the above scrip, I have a line in there to set the 'Quick Search' field to blank.
Any suggestions on how to get the script to delete the text in the 'Quick Search' field from within the record I'm in when I request the search?
Make your quick search field a global field. This way, each record doesn't have it's own copy that can persist if you don't land on that record at the end of the find.
Thanks again for all of your help.