home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c09 / odbc2 / myrecordset2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.3 KB  |  53 lines

  1. #ifndef __MYRECORDSET2_H__
  2. #define __MYRECORDSET2_H__
  3.  
  4. // MyRecordset2.h : header file
  5. //
  6.  
  7. /////////////////////////////////////////////////////////////////////////////
  8. // CMyRecordset2 recordset
  9.  
  10. class CMyRecordset2 : public CRecordset
  11. {
  12. public:
  13.     void DoBulkFieldExchange( CFieldExchange* pFX );
  14.     CMyRecordset2(CDatabase* pDatabase = NULL);
  15.     DECLARE_DYNAMIC(CMyRecordset2)
  16.  
  17. // Field/Param Data
  18.     //{{AFX_FIELD(CMyRecordset2, CRecordset)
  19.     int        m_major;
  20.     int        m_minor;
  21.     int        m_width;
  22.     int        m_priority;
  23.     CString    m_RGBColor;
  24.     long    m_threshold;
  25.     CString    m_style;
  26.     CString    m_hatch;
  27.     long    m_colorref;
  28.     CString    m_description;
  29.     CString*    m_pDescription;
  30.     //}}AFX_FIELD
  31.  
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CMyRecordset2)
  36.     public:
  37.     virtual CString GetDefaultConnect();    // Default connection string
  38.     virtual CString GetDefaultSQL();    // Default SQL for Recordset
  39.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. #ifdef _DEBUG
  44.     virtual void AssertValid() const;
  45.     virtual void Dump(CDumpContext& dc) const;
  46. #endif
  47. };
  48.  
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51.  
  52. #endif // __MYRECORDSET2_H__
  53.