Knowledge Base

SAMPLE: DLGDB CDialog Sharing a CRecordset Object

PSS ID Number: Q127193

Article Last Modified on 09-9-2002


The information in this article applies to:


Summary

NOTE: This is the 16-bit version of this sample. There is an equivalent 32- bit sample available under the name DLGDB32.

The DLGDB code sample demonstrates how to have a CDialog derived class share a CRecordset object that a CRecordView is already using. In addition, when used by itself, the code sample also demonstrates how to select CRecordset object from a CDocument without having a CRecordView.

NOTE: This sample assumes that ODBC has been installed and that the Student Registration data source has been configured.

NOTE: The file must be decompressed by typing "DLGDB -d".

The following file is available for download from the Microsoft Software Library:

Dlgdb.exe
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

Additional query words: DLGDB32

Keywords: kbfile kbProgramming kbDatabase kbMFC kbODBC kbVC
Issue Type:
Technology: kbAudDeveloper _IKkbbogus kbMFC