Click here to Skip to main content
15,885,216 members
Articles / Desktop Programming / MFC

The alxBase classes for work with DBF files

Rate me:
Please Sign up or sign in to vote.
5.00/5 (22 votes)
5 Nov 20021 min read 361.3K   3.8K   57  
The alxBase classes for work with dbf files.
// DBFViewDoc.h : interface of the CDBFViewDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DBFVIEWDOC_H__86CF9509_4075_11D5_8A50_000102CA073A__INCLUDED_)
#define AFX_DBFVIEWDOC_H__86CF9509_4075_11D5_8A50_000102CA073A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DBFRecordset.h"

class CDBFViewDoc : public CDocument
{
protected: // create from serialization only
	CDBFViewDoc();
	DECLARE_DYNCREATE(CDBFViewDoc)

// Attributes
public:
	CDBFRecordset m_Set;
// Operations
public:
//	CDBFTableDef m_DBFTableDef;

	CString m_strExpression;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDBFViewDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CDBFViewDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDBFViewDoc)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DBFVIEWDOC_H__86CF9509_4075_11D5_8A50_000102CA073A__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
Year of birth - 1974.
Eeducation - was ended by Kaliningrad State University in 1997.
Now I work as the engineer-programmer in Kaliningrad (RUSSIA).

Comments and Discussions