1. Add a class and select "mfc odbc consumer". A dialog box "mfc odbc consumer wizard-project name" is displayed ". 2. Click the Data Source button to bring up the "Select data source" dialog box ". 3. Click the new button. In the displayed dialog box, "Create a new data source", select "Driver do Microsoft Access" in the list box, and click "Next". Select your access database from the browser file and click "Next, click Finish. The "ODBC Microsoft Access installation" dialog box is displayed ". 4. Click the select button, find your Access database, and select, OK. In this case, "Database:" On the selection button shows the database you selected. OK. 5. Double-click the newly created DSN. The "ODBC Microsoft Access installation" dialog box is displayed. Click OK. The "select database object" dialog box is displayed ". 6. Select the data table that you want to derive from cdaorecordset, and click OK. The dialog box "MFC ODBC consumer wizard-project name" is displayed ". The class name, Class header file name, and class implementation file name can be modified. Click Finish.
Has the class been created in your project?
From:Http://blog.csdn.net/eddy_liu/article/details/7184046
No record set class crecordset found in MFC