Hi List, Has anyone encountered the below error and know of any solution for the following error returned by ODBC when calling a $execdirect for an insert store proc to an SQL Server. Thank you as always, Asif Jabbar SQL Error: The statement could not be executed directly - [Microsoft][ODBC SQL Server Driver]Invalid cursor state