Kurt,
SPT = SQL Pass Through. You should always call aerror() if SQLExec() or SQLMoreResults() or any other SQL*() function returns an error value. A lo of people have written thrie own wrapper functions/methods around these functions in order to simplify the handling of errors.
>hmhm what do you mean with a spt command ?