home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c08 / lab01 / ex01 / joinset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.1 KB  |  46 lines

  1. // JoinSet.h : interface of the CJoinSet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CJoinSet : public CDaoRecordset
  6. {
  7. public:
  8.     CJoinSet(CDaoDatabase* pDatabase = NULL);
  9.     DECLARE_DYNAMIC(CJoinSet)
  10.  
  11. // Field/Param Data
  12.     //{{AFX_FIELD(CJoinSet, CDaoRecordset)
  13.     long    m_Employee_Number;
  14.     CString    m_Last_Name;
  15.     CString    m_First_Name;
  16.     short    m_Department__;
  17.     short    m_Employee_Pay_Type;
  18.     double    m_Hours;
  19.     double    m_Hourly_Rate;
  20.     double    m_Weekly_Salary;
  21.     double    m_Sales_Bonus_Rate;
  22.     double    m_Weekly_Sales;
  23.     long    m_Employee_Number2;
  24.     COleDateTime    m_Birthdate;
  25.     BYTE    m_Sex___Marital_Status;
  26.     double    m_Height;
  27.     double    m_Weight;
  28.     //}}AFX_FIELD
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CJoinSet)
  33.     public:
  34.     virtual CString GetDefaultDBName();        // REVIEW:  Get a comment here
  35.     virtual CString GetDefaultSQL();     // default SQL for Recordset
  36.     virtual void DoFieldExchange(CDaoFieldExchange* pFX);    // RFX support
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. };
  46.