INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

ADODB CursorLocation = adUseNone

ADODB CursorLocation = adUseNone

(OP)
I have a VB 6 application that connects to Oracle data base thru ADODB. The recordsets created are not that big (in my opinion), there is not much Inserts, Updates and Deletes (again, ‘not much’ is a relative term).

To connect to Oracle I have been using:

CODE

Dim Cn As ADODB.Connection

Set Cn = New ADODB.Connection
Cn.ConnectionString = strCn 'connection string set somewhere else
Cn.CursorLocation = adUseNone
Cn.Open 

From MicroSoft site: "adUseNone - This value indicates no cursor location."

I would like to change it to adUseClient, but I don't know what problems I may encounter, if any.

Also, does ADODB.Recordset get/inherit its CursorLocation from Connection object?

If someone could enlighten me on the subject, I would appreciate it.

Have fun.

---- Andy

A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.

RE: ADODB CursorLocation = adUseNone

From the manual:

Quote:

adUseNone, 1, Does not use cursor services. (This constant is obsolete and appears solely for the sake of backward compatibility.)

This probably results in a default (server) cursor.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close