Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ADODB.recordset.AddNew

Posted on 1999-07-14
2
Medium Priority
?
157 Views
Last Modified: 2010-08-05
I'm trying to add a row to an ADO recordset, which I will later save to the DB.

The AddNew method raises an error "The operation is not supported by your provider"

The syntax is

rsData.AddNew

What am I doing wrong?  The DSN is ODBC to Oracle 7.3.4
0
Comment
Question by:gmoriak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
gajendra earned 100 total points
ID: 1524741
Please check the recordset property - cursortype - by default it has the ReadOnly tag.

Change it.

HTH

Gajendra



0
 
LVL 3

Author Comment

by:gmoriak
ID: 1524742
I set it to adOpenDynamic, but still get the same error - 3251
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

705 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