Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356267
Message ID:
01356290
Views:
24
LOCAL lcError, lcMessage, llError

LOCAL ARRAY laError

llError = .f.
* stop error handling
lcError = ON ("ERROR" )

ON ERROR llError= .t..

* access your table

IF llError
AERROR( laErrorArray )
* look in array to find what error it is
lcMessage = laError[3]
ENDIF

* reset error handler
ON ERROR &lcError

* do something
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform