>>>The Locfile() command returns a VFP error if you click CANCEL, instead of a null string or other "This didn't work" value. I *can* use Getfile(), although I would prefer Locfile() for a specific use. Any suggestions other than disabling our standard error handler before the call, trapping for this error and then re-enabling the error handler?
>>>
>>>TIA
>>>Barbara
>This may be totally off the wall and I haven't tried it my self but how about the Common Dialogs Control - COMDLG32.OCX. It has several methods which you could modify to handle returns your self.
Thanks, Terry. I will take a look at COMDLG32, although at present I'm using GetFile() which does *most* of what I want.
Barbara