no CRecordset subclasing wizard? 
Author Message
 no CRecordset subclasing wizard?

Am I right? There is no more subclasing wizard for
CRecordset in VS.NET (2002/20003) ?


Fri, 01 Jul 2005 18:43:49 GMT
 no CRecordset subclasing wizard?

Hi Stefan, Not being a C++ Programmer I had to ask around a bit, but this is what I found out....

In VC6, you could go to the Insert menu, select New Class and then select CRecordset as your base class.

In VS.NET, if you go to the Project menu, and select Add Class, then Visual C++\MFC from the tree and click MFC Class, CRecordset is not in the list. To derive a
class from CRecordset, after you select Add Class from the menu, select Visual C++\MFC from the tree, then click MFC ODBC Consumer. This will then allow you
to select the data source you want to use, and will create a CRecordset-based class.

Want to know more? Check out the MSDN Library at  or the Microsoft Knowledge Base at

Scot Rose, MCSD
Microsoft Visual Basic Developer Support

This posting is provided AS IS, with no warranties, and confers no rights.

Sat, 02 Jul 2005 02:26:05 GMT
 [ 2 post ] 

 Relevant Pages 

1. Using CRecordset::AddNew() and CRecordset::Edit() with IDENTITY fields

2. Using CRecordset::AddNew() and CRecordset::Edit() with IDENTITY fields

3. To wizard or not to wizard?

4. application wizard and data form wizard get fatal error when opening

5. Looking for a Wizard wizard

6. SQL_CONCUR_READ_ONLY and CRecordset

7. VC++ CRecordset from SQL 6.5

8. Error in Crecordset.update

9. Update a row in CRecordset-derived class

10. Hanging locks after failed CRecordset::Rollback()

11. MFC CRecordset and Identity fields

12. CRecordset OnSetOptions SQL_MAX_ROWS

Powered by phpBB® Forum Software