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

  1. // DBVListSet.h : interface of the CDBVListSet class
  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. #if !defined(AFX_DBVLISTSET_H__13CCB74D_ED59_11D0_8286_00C04FD73634__INCLUDED_)
  14. #define AFX_DBVLISTSET_H__13CCB74D_ED59_11D0_8286_00C04FD73634__INCLUDED_
  15.  
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif // _MSC_VER >= 1000
  19.  
  20. class CDBVListSet : public CDaoRecordset
  21. {
  22. public:
  23.     CDBVListSet(CDaoDatabase* pDatabase = NULL);
  24.     DECLARE_DYNAMIC(CDBVListSet)
  25.     void SetFilter(CString strCurQuery);
  26.     void SetSort(LPCTSTR pszSortField);
  27. // Field/Param Data
  28.     //{{AFX_FIELD(CDBVListSet, CDaoRecordset)
  29.     CString m_Email;
  30.     CString m_Name;
  31.     CString m_Phone;
  32.     CString m_Location;
  33.     CString m_Title;
  34.     CString m_Department;
  35.     CString m_Division;
  36.     //}}AFX_FIELD
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CDBVListSet)
  41.     public:
  42.     virtual CString GetDefaultDBName();     // REVIEW:  Get a comment here
  43.     virtual CString GetDefaultSQL();    // default SQL for Recordset
  44.     virtual void DoFieldExchange(CDaoFieldExchange* pFX);   // RFX support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. #ifdef _DEBUG
  49.     virtual void AssertValid() const;
  50.     virtual void Dump(CDumpContext& dc) const;
  51. #endif
  52.  
  53. };
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_DBVLISTSET_H__13CCB74D_ED59_11D0_8286_00C04FD73634__INCLUDED_)
  59.