Invalid cursor state
843854Jan 28 2002 — edited Jan 29 2002Hi all,
I`m currently writing a program to connect to a Microsoft SQL Server 7.0 database and retrieve some data.
The bloke that looks after the databases told me I have to use an ODBC-JDBC bridge as its not possible to connect straight through to Microsoft SQL Server 7.0 using JDBC.
So I`ve used this ODBC-JDBC bridge and have executed a query statement, but I get an error at run-time: -
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
Why do I get this error? After 2 hours staring at this screen I`m running out of ideas.
I`d be very grateful for any help.
Cheers,
Tom