lnConn = SQLSTRINGCONNECT(...) lnResult = SQLEXEC(lnConn, [EXEC MySproc], "clsSprocResult") IF lnResult < 1 * ODBC error, use AERROR() to pull detailed info ENDIF