>I am having a little problem with the view designer. I get an AfterModifyView event to fire, but when this methods fails (due to an unhandled error in my code), all the tables that the view refers to stay locked. Whatever I try to do with them, the answer is "Cursor
cannot be closed because it is used by the view/query designer". This includes quitting VFP, so all that I manage to do is killing VFP.
>
Hi David,
It looks like a bug to me. To work around it, you can enclose code in the AfterModifyView event into TRY...ENDTRY.
--sb--