wrong provide problem.

Posted on 2003-11-11
Last Modified: 2010-05-01
hello experts, i am tyring to execute the following in VB
with rs
      .fields(10).value =123
end with
it givs the error message that the provider does not support this mehthod.
i am connecting with Oracle 8 using the connection string (Dsn Less connection)
"driver={microsoft oracle for odbc};uid=scott;pwd=tiger"
please tell me where am i wrong and the soloution.
A Student
Question by:astudent
LVL 18

Accepted Solution

Sethi earned 25 total points
ID: 9720953
Set the Cursor type to adoOpenDynamic and it will work. By default VB opens a read only cursor.

Expert Comment

ID: 9720958
A snippet of code where you open the recordset might help. It might be read-only (altough that should produce a different error). R u actually editing something before calling update ? Give us the whole procedure, please.

Author Comment

ID: 9721068
thanks Sethi, Please tell me have i typed the correct connection string, because it says that provider does not support this method (rs.update) is there any need to write the "provider = " part of connection string, if yes, what it should be.
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline


Assisted Solution

Crazy_king_in earned 25 total points
ID: 9721634
I guess. U have called rs.update with out any changes to the record set and after that ur trying to change the values...Is that correct..check out this way

with rs
     .fields(10).value =123
end with

This may work, give a try...

Expert Comment

ID: 9721705
Hi, I don't know if this is stil valid, but microsoft oracle for ODBC always had issues in updating.

Here is a trick anyway that might work.

If you link to the table with (i.e.) Ms Access and create an index (yes, create a new index on the table you wish to update), then you should be able to make update even from your code.

Another solution is to use other vendors Oracle ODBC drivers.


LVL 26

Assisted Solution

EDDYKT earned 25 total points
ID: 9721928
LVL 49

Expert Comment

ID: 10537161
Moderator, my recommended disposition is:

    Split points between: Sethi and Crazy_king_in and EDDYKT

Dan Rollins -- EE database cleanup volunteer

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now