Hi there Cartoonguy,
When searching from within the Finder window, you can change where Spotlight searches by clicking This Mac to search everywhere on your Mac or your current folder location (the search example below shows Documents as the current folder location). Take a look at the article below for more information.
Thanks Griff, but the issue is that the search function is looking into subfolders in the selected folder and I don't want it to. I understand about searching in the Mac generally versus the specified folder, but I don't want it to look in the sub folders, which is what it does, without being able to stop that, as far as I can see.