We have a stored procedure that is creating information in tempdb table and using cursors. It is suppose to produce a report of about 1000 records. If we run the stored procedure as a sql query then it works fine. If we run it using the VB app. it times out with the following message:
[Microsoft][ODBC Sql Server Drive]Timeout expired(#0)

Is there anything I can do to correct this problem?

Thank you,

Tracy