>>You can return cursor with one field or you can use output parameter
lcRetVal = ""
>>= SQLExec(lnHandle,"EXEC sp_name ?@lcRetVal")
>
>I'm sorry, that didn't help. I must be missing something.
Did you specify that the parameter in your stored procedure is an OUTPUT parameter? Maybe you can post the sproc code.
Chris McCandless
Red Sky Software