home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daoenrol / coursese.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.2 KB  |  43 lines

  1. // coursese.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CCourseSet DAO recordset
  15.  
  16. class CCourseSet : public CDaoRecordset
  17. {
  18. public:
  19.     CCourseSet(CDaoDatabase* pDatabase = NULL);
  20.     DECLARE_DYNAMIC(CCourseSet)
  21.  
  22. // Field/Param Data
  23.     //{{AFX_FIELD(CCourseSet, CDaoRecordset)
  24.     CString m_CourseID;
  25.     CString m_CourseTitle;
  26.     short   m_Hours;
  27.     //}}AFX_FIELD
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CCourseSet)
  32.     public:
  33.     virtual CString GetDefaultSQL();        // Default SQL for Recordset
  34.     virtual void DoFieldExchange(CDaoFieldExchange* pFX);  // RFX support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42. };
  43.