Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table locked by the view designer
Message
 
 
To
22/03/2005 10:45:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00998110
Message ID:
00998215
Views:
14
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform