Rather than throw an error in the first place, check for existance of the file with a Dir Function. If it's found then execute the record retreival, otherwise display your "not found" message. If you know something is likely to happen and write code to handle it, it is much better than trapping errors. When you find that something is causing an error, rather than handle the error, write code to prevent it. Figuring out what to do to prevent the error will make you a better programmer in the long run.