home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / CATALG.PAK / TABLESET.H < prev   
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.4 KB  |  47 lines

  1. // tableset.h : interface of the CTables class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 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.  
  15. #ifndef __AFXWIN_H__
  16.     #error include 'stdafx.h' before including this file for PCH
  17. #endif
  18.  
  19. class CTables : public CRecordset
  20. {
  21. DECLARE_DYNAMIC(CTables)
  22.  
  23. public:
  24.     CTables(CDatabase* pDatabase = NULL);
  25.     BOOL Open(UINT nOpenType = snapshot, LPCSTR lpszSQL = NULL, DWORD dwOptions = none);
  26.  
  27. // Field/Param Data
  28.     //{{AFX_FIELD(CTables, CRecordset)
  29.     CString m_strQualifier;
  30.     CString m_strOwner;
  31.     CString m_strName;
  32.     CString m_strType;
  33.     CString m_strRemarks;
  34.     //}}AFX_FIELD
  35.  
  36.     CString m_strQualifierParam;
  37.     CString m_strOwnerParam;
  38.     CString m_strNameParam;
  39.     CString m_strTypeParam;
  40.  
  41. // Implementation
  42. protected:
  43.     virtual CString GetDefaultConnect();    // default connection string
  44.     virtual CString GetDefaultSQL();    // default SQL for Recordset
  45.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  46. };
  47.