Thanks, Sergey. That's exactly what I was looking for!
(How do I say 'Thank you' in Russian?)
--- Tom
______________________
>Hi Tom,
>
>
SET TABLEPROMPT OFF
>
>>When I have a bug and my application tries to execute a command against a table, bute no table is open in the current select area, VFP shows the open file dialog. This is a big security hole I would like to avoid. I would just want the command to raise an error (as it does if the user doesn't pick a file). If inside a try/catch, it should fall to the catch block.
>>
>>I heard that there was (finally!) a way to do this in VFP9, but I can't find it. Can someone help?
>>
Tom Green in Montreal