SAMPLE: DLGDB32 CDialog Sharing a CRecordset Object

ID: Q141445


The information in this article applies to:


SUMMARY

This is the 32-bit version of this sample.

The Dlgdb32 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.

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

Dlgdb32.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
NOTE: The file must be decompressed by typing "DLGDB32 -d".

Additional query words: kbvc400 kbvc410 kbvc420 kbvc500 kbvc600


Keywords          : kbprg kbsample kbDatabase kbMFC kbODBC kbVC 
Version           : 4.0 4.1 4.2 5.0 6.0
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: July 30, 1999