Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Oct 8, 1999

VB5-to-SQL 7.0 Connection Problem

Question:
I need your assistance to solve the following:

I am using an RDO connection to connect to a SQL 7.0 database, and I am using the server-side cursor technique to get data and update it. The problem is, whenever I do a RollBack and try to check the cursor, I receive a message—"ODBC Error - cursor is not open"—as if the cursor is closed automatically. I did not have this problem with SQL 6.5.

Answer:
Is there a particular reason you chose to use RDO instead of ADO?

Check the cursor declaration for the type of cursor you've created. Maybe you are dealing with a FORWARD only? Did you try to throw an order by on your cursor?

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date