The message "File access denied" is also displayed if the file is in use by another user. Based on what you are trying to accomplish, this may very well be the case.<br>
<br>
The root cause in this scenario is that the file is opened exclusively. There are several ways to "fix" this; any of these will work:<br>
<br>
* put EXCLUSIVE=OFF in your CONFIG.FPW<br>
* in Tools/Options/Data, uncheck the Exclusive checkbox and save as default<br>
* issue the command SET EXCLUSIVE OFF in the Command Window, or within your program<br>
* when opening files via the USE command, use the SHARED clause (this generally won't help you with SQL Select commands, however).<br>
------------<br>
Raza<br>