⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 computationset.cpp

📁 本系统采用小型数据库管理系统中优秀的软件“Visual C++ 6.0” 作为系统开发工具
💻 CPP
字号:
// ComputationSet.cpp : implementation file
//

#include "stdafx.h"
#include "salarly.h"
#include "ComputationSet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CComputationSet

IMPLEMENT_DYNAMIC(CComputationSet, CRecordset)

CComputationSet::CComputationSet(CDatabase* pdb)
	: CRecordset(pdb)
{
	//{{AFX_FIELD_INIT(CComputationSet)
	m_absent = 0;
	m_business = 0;
	m_late = 0;
	m_leave = 0;
	m_overtime = 0;
	m_worktime = 0;
	m_nFields = 6;
	//}}AFX_FIELD_INIT
	m_nDefaultType = snapshot;
}


CString CComputationSet::GetDefaultConnect()
{
	return _T("ODBC;DSN=salary");
}

CString CComputationSet::GetDefaultSQL()
{
	return _T("[参数表]");
}

void CComputationSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CComputationSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[absent]"), m_absent);
	RFX_Int(pFX, _T("[business]"), m_business);
	RFX_Int(pFX, _T("[late]"), m_late);
	RFX_Int(pFX, _T("[leave]"), m_leave);
	RFX_Int(pFX, _T("[overtime]"), m_overtime);
	RFX_Int(pFX, _T("[worktime]"), m_worktime);
	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// CComputationSet diagnostics

#ifdef _DEBUG
void CComputationSet::AssertValid() const
{
	CRecordset::AssertValid();
}

void CComputationSet::Dump(CDumpContext& dc) const
{
	CRecordset::Dump(dc);
}
#endif //_DEBUG

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -