I run a dbase5 program in a multi-user environment on Windows NT. I am looking for an "on error" procedure when I attempt to "set exclusive on" and a file is locked that will allow me to retry until the file is unlocked. It would be much appreciated.