>Jim,
>
>>>It is in fact an inadequate regression test of your code.
>>
>>That's damned harsh, David!
>
>But it is the truth...
This was the flawed logic usually employed by John Petersen -- state opinions as though they are facts or in this case, truths (I consider one tantamount to the other).
I am in complete agreement with Fabio, Sergey, Jim Nelson and the many others - this is a flaw / bug / call it what you want, in VFP's implementation. I do not want the User to get an occasional dialog box that I have not explicitly caused to appear.
I code defensively and rely on good architecture and testing to facilitate the creation of robust solutions - however, I cannot guarantee that I will catch 100% of the possible errors. Hence the need for ON ERROR and TRY ... CATCH. When the Open Dialog appears I am no longer in control, to think anything else is a case of being 'economical with the truth'.
censored.