Hi,
The dialog box only appears if the nominated file is not found. Maybe you should be using GETFILE instead.
>I want to use LOCFILE('filename', 'dbf') in order to have a user select a file and help them out by only showing the files that qualify.
>The problem is that on subsequent calls to LOCFILE() , the dialog box does not show up and LOCFILE() simply returns its last results.
>
>How can I clear the LOCFILE() buffer so that on each call it will display the dialog?
Regards N Mc Donald