📄 exaci_2.cpp
字号:
// ExaCI_2.cpp : implementation file
//
#include "stdafx.h"
#include "Example_2.h"
#include "ExaCI_2.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ExaCI_2
IMPLEMENT_DYNAMIC(ExaCI_2, CRecordset)
ExaCI_2::ExaCI_2(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(ExaCI_2)
m_fy = 0;
m_f1 = 0;
m_f2 = 0;
m_f3 = 0;
m_f4 = 0;
m_f5 = 0;
m_f6 = 0;
m_f7 = 0;
m_f8 = 0;
m_f9 = 0;
m_f10 = 0;
m_nFields = 11;
//}}AFX_FIELD_INIT
m_nDefaultType = dynaset;
}
CString ExaCI_2::GetDefaultConnect()
{
return _T("ODBC;DSN=Exa_2DS");
}
CString ExaCI_2::GetDefaultSQL()
{
return _T("[Exat_2]");
}
void ExaCI_2::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(ExaCI_2)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Long(pFX, _T("[fy]"), m_fy);
RFX_Long(pFX, _T("[f1]"), m_f1);
RFX_Long(pFX, _T("[f2]"), m_f2);
RFX_Long(pFX, _T("[f3]"), m_f3);
RFX_Long(pFX, _T("[f4]"), m_f4);
RFX_Long(pFX, _T("[f5]"), m_f5);
RFX_Long(pFX, _T("[f6]"), m_f6);
RFX_Long(pFX, _T("[f7]"), m_f7);
RFX_Long(pFX, _T("[f8]"), m_f8);
RFX_Long(pFX, _T("[f9]"), m_f9);
RFX_Long(pFX, _T("[f10]"), m_f10);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// ExaCI_2 diagnostics
#ifdef _DEBUG
void ExaCI_2::AssertValid() const
{
CRecordset::AssertValid();
}
void ExaCI_2::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -