WordBasic ODBC Functions
Consider the following for all the WordBasic ODBC functions:
- To use a function described in this section, you must include the corresponding Declare statement, which you can copy directly from the AllDeclarations macro in WBODBC.DOT. For more information, see "Using the ODBC Extensions" earlier in this appendix.
- In general, an error value is an integer that is less than or equal to zero. A return value of 0 (zero) implies a general error, for which more information can be obtained using the error functions.
- A return value of –1 (SQL_NoMoreData) implies that the logical end of a file has been reached.
- A return value of –2 (SQL_StillExecuting) during asynchronous processing implies that an ODBC operation is still in progress.
- If a string function cannot return a value from a data source, it returns an empty string ("").