For adding a CRecordset derived in VS2008 you should do as follows. 1. In the Solution Explorer or Class View, right mouse click on the root node and choose Add --> Class. 2. From the Add Class dialog choose "MFC ODBC Consumer" and press Add. 3. Press the "Data Source" button to choose a data source and the required table (just follow the wizard). 4. Press "Finish". 5. Two files will be created CPP and H files. Enjoy, Dudi.
D
Dudi Avrahamov
@Dudi Avrahamov