General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
In some cases you can use message(1) VFP function:
As in Help:
"If MESSAGE( ) is used in an ON ERROR routine, include this argument to return the program source code that caused the error. If the program source code isn't available, MESSAGE(1) returns one of the following:
The entire program line if the line is macro substituted.
A command if the line contains a command without any additional clauses.
A command followed by three dots (...) if the line contains a command and additional clauses. "
Also you could write the custom onerror routine, that invokes on error message "Not a table" and search this file among tables used in the application.
>Is there a technique to return the name of a corrupted table. VFP only reports error "Not a table" and I need to give the user something that they can use to recover.
>
>Thanks.
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