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

  1. #ifndef __EMPLOYEEPERSONALSET_H__
  2. #define __EMPLOYEEPERSONALSET_H__
  3.  
  4. // EmployeePersonalSet.h : header file
  5. //
  6.  
  7. /////////////////////////////////////////////////////////////////////////////
  8. // CEmployeePersonalSet DAO recordset
  9.  
  10. class CEmployeePersonalSet : public CDaoRecordset
  11. {
  12. public:
  13.     CEmployeePersonalSet(CDaoDatabase* pDatabase = NULL);
  14.     DECLARE_DYNAMIC(CEmployeePersonalSet)
  15.  
  16. // Field/Param Data
  17.     //{{AFX_FIELD(CEmployeePersonalSet, CDaoRecordset)
  18.     long    m_Employee_Number;
  19.     COleDateTime    m_Birthdate;
  20.     BYTE    m_Sex___Marital_Status;
  21.     double    m_Height;
  22.     double    m_Weight;
  23.     //}}AFX_FIELD
  24.  
  25.     long m_EmployeeNumberParam;
  26.  
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CEmployeePersonalSet)
  31.     public:
  32.     virtual CString GetDefaultDBName();        // Default database name
  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.  
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  46.  
  47. #endif // __EMPLOYEEPERSONALSET_H__
  48.