![]() ![]() The prefixes in brackets () identify the source of the error as defined in the following table. SyntaxĮrror messages have the following format: If a native error number does not have an ODBC error code to map to, the Visual FoxPro driver returns SQLSTATE S1000 (General error).įor a list of SQLSTATE values generated by the Visual FoxPro ODBC Driver for corresponding Visual FoxPro errors, see ODBC Error Codes. SQLSTATE (ODBC Error Codes)įor errors that are detected and returned by the Visual FoxPro driver, the driver maps the returned native error number to the appropriate SQLSTATE. For a list of native error numbers, see Visual FoxPro ODBC Driver Native Error Messages. Native Errorsįor errors that occur in the data source, the Visual FoxPro driver returns the native error number and error message text. You access this error information by calling SQLError. The SQLSTATE (an ODBC error code) and error message text The native error number and error message text When an error occurs, the Visual FoxPro driver returns the following information:
0 Comments
Leave a Reply. |