CRecordset problem... When trying to Open,it says ODBC driver doesn't support Dynasets

Posted on 2000-03-30
Last Modified: 2013-11-20
Do you know what is the problem?

How can I read and write to fields in a Recordset without the need of deriving a CRecordset class?

Thanks in advance
Question by:skel
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

Accepted Solution

inpras earned 100 total points
ID: 2671929
CRecordset rs;
rs.Open(CRecordset::dynaset, "SELECT * FROM MyTab", none);
and access the fields

to update
CDatabase db;
db.ExecuteSQL("UPDATE TABLE tab1 SET...");

Hope this helps

Expert Comment

ID: 2672138
Yes,use SQL clause is a effective way.

Author Comment

ID: 2675125
But when I use rs.Open(CRecordset::dynaset, "SELECT * FROM MyTab", none); I get the error that ODBC Driver doesn't support dynasets....

Finally I'm trying using DAO... I have more experience on that


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

630 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