Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 991 Bytes

adding-an-mfc-odbc-consumer.md

File metadata and controls

26 lines (17 loc) · 991 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Adding an MFC ODBC Consumer
Adding an MFC ODBC Consumer
11/04/2016
MFC ODBC consumers
2dc97909-1f7e-43ee-9d47-99e612727058

Adding an MFC ODBC Consumer

An MFC ODBC consumer consists of an ODBC recordset class and data bindings necessary to access a data source.

To add an MFC ODBC consumer

  1. In Class View, right-click the project. On the shortcut menu, click Add and then click Add Class.

  2. In the Visual C++ folder, double-click the MFC ODBC Consumer icon or select it and click Open.

    The MFC ODBC Consumer Wizard opens.

  3. Define settings as described in MFC ODBC Consumer Wizard.

  4. Click Finish to close the wizard, which will insert the newly created ODBC consumer code in your project.

See also

Adding Functionality with Code Wizards