Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error not trapped with ON ERROR ...
Message
From
24/05/1999 17:54:35
 
 
To
20/05/1999 14:01:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00221017
Message ID:
00222251
Views:
18
>Hi all,
>
>I have an error routine to handle error trapping, but I'm getting an intermittent error that does not fire the error handler. Anyone know anything about this error:
>
>Cannot access the selected table.
>
>I've looked it up in the error messages, and this particular error has an error number even (#1152), but it's just not firing the error-handling function at all. My user's are getting sick of seeing this message (it doesn't seem to negatively affect the program). HELP!
>
>TIA,
>Bonnie

Usually, this error means that VFP does not like you trying to manipulate (e.g. overrride) cursor which is used for combo.rowsource, sometimes it fires for grids too. You should make few precautions: unlink all row(record)sources in form.destroy event and unlink row/recordsource before you override cursor with another Select-SQL. 'Unlink' means Combo.Rowsource="".
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform