>OK. That works.
>Is there a way to avoid recordsets? Not that I don't like them. Just if I know function returns integer I'd like to get integer, not recordset.
With ADO, I don't know. With ODBC it's in the formaat {? = call storedproc(?) }
return xx is the return code of stored procedure and a recordset is what's expected. Sorry but I'm at home and I don't have VFP,SQL server etc in the boot session I'm using. It's hard to remember all these off the top of my head.
Cetin