General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only