KCML_Debug_Odbc
Purpose
Call the 'odbc function to emulate kiodbc for debugging purposes
Definition
DEFSUB 'KCML_Debug_Odbc(BYREF arg$()) AS Numeric
Parameters
| arg | Array of arguments to be passed, the same as arguments to the sql utility (do not pass sql as the first argument) |
Return
Returns the same result as the sql utility would return, with 0 meaning success
Description
This function is used to perform the same action as the sql utility passing in an array of strings as arguments. This may then invoke the 'odbc function if the service is set up for an external database. The purpose of this function is to enable the development of the the 'odbc callback.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.