while accessing data from SQL Server
through vb program i m getting error
error - "Run Time error" 40002
37000:[microsoft]ODBC Sql Server Driver)[SQL Server] the cursor was not declared

this progrm was made in vb5 and sql 6.5 it is working fine with sql 6.5
but when i m trying to run in on sql 2000 it is giving bove problem

what could be the solution for this as i wanted to upgrade the sql 6.5 to sql 2000