Exemplo n.º 1
0
void CMyRecordset::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, "Text1", m_text1);
	RFX_Long(pFX, "Key1", m_key1);
	RFX_Long(pFX, "Number1", m_number1);
}
void tmCategory_Recordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(tmCategory_Recordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[CategoryID]"), m_CategoryID);
	RFX_Text(pFX, _T("[Name]"), m_Name);
	RFX_Long(pFX, _T("[QuantityID]"), m_QuantityID);
	RFX_Long(pFX, _T("[CategorySubTypeID]"), m_CategorySubTypeID);
	RFX_Long(pFX, _T("[BoolTypeID]"), m_BoolTypeID);
	RFX_Bool(pFX, _T("[XCategory]"), m_XCategory);
	RFX_Bool(pFX, _T("[IncludeNULL]"), m_IncludeNULL);
	RFX_Long(pFX, _T("[Ord]"), m_Ord);
	RFX_Text(pFX, _T("[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[wSavedCountUsed]"), m_wSavedCountUsed);
	//}}AFX_FIELD_MAP
}
void CtbProductionLine::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Long(pFX, _T("[Id]"), m_Id);
	RFX_Date(pFX, _T("[CreatedDateTime]"), m_CreatedDateTime);
	RFX_Date(pFX, _T("[LastUpdatedDateTime]"), m_LastUpdatedDateTime);
	RFX_Text(pFX, _T("[LineName]"), m_LineName);
	RFX_Long(pFX, _T("[UserId]"), m_UserId);
	RFX_Text(pFX, _T("[Capacity]"), m_Capacity);
	RFX_Text(pFX, _T("[Description]"), m_Description);
	RFX_Long(pFX, _T("[SortIndex]"), m_SortIndex);

}
Exemplo n.º 4
0
void FieldExchanger::DoFieldExchange(CFieldExchange* pFX, CreateUserParamTest& data)
{
	pFX->SetFieldType(CFieldExchange::inoutParam);
	RFX_Long(pFX, _T("id"), data.id);
	pFX->SetFieldType(CFieldExchange::inputParam);
	RFX_Text(pFX, _T("name"), data.sName);
}
Exemplo n.º 5
0
void CNpcPosSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CNpcPosSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[ZoneID]"), m_ZoneID);
	RFX_Long(pFX, _T("[NpcID]"), m_NpcID);
	RFX_Byte(pFX, _T("[ActType]"), m_ActType);
	RFX_Byte(pFX, _T("[RegenType]"), m_RegenType);
	RFX_Byte(pFX, _T("[DungeonFamily]"), m_DungeonFamily);
	RFX_Byte(pFX, _T("[SpecialType]"), m_SpecialType);
	RFX_Byte(pFX, _T("[TrapNumber]"), m_TrapNumber);
	RFX_Long(pFX, _T("[LeftX]"), m_LeftX);
	RFX_Long(pFX, _T("[TopZ]"), m_TopZ);
	RFX_Long(pFX, _T("[RightX]"), m_RightX);
	RFX_Long(pFX, _T("[BottomZ]"), m_BottomZ);
	RFX_Long(pFX, _T("[LimitMinX]"), m_LimitMinX);
	RFX_Long(pFX, _T("[LimitMinZ]"), m_LimitMinZ);
	RFX_Long(pFX, _T("[LimitMaxX]"), m_LimitMaxX);
	RFX_Long(pFX, _T("[LimitMaxZ]"), m_LimitMaxZ);
	RFX_Byte(pFX, _T("[NumNPC]"), m_NumNPC);
	RFX_Int(pFX, _T("[RegTime]"), m_RegTime);
	RFX_Byte(pFX, _T("[byDirection]"), m_byDirection);
	RFX_Byte(pFX, _T("[DotCnt]"), m_DotCnt);
	RFX_Text(pFX, _T("[path]"), m_path);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 6
0
void CSourceODBC::SDBField::FieldExchange(CFieldExchange *pFX)
{
    switch(ID_TYPE)
    {
    case LONG:
        RFX_Long(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), lValue);
        break;

    case STRING:
        RFX_Text(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), strValue, 65535);
        break;

    case TIME:
        RFX_Date(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), timeValue);
        break;

    case DOUBLE:
        RFX_Double(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), dValue);
        break;

    case DOUBLE4:
        RFX_Double(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), dValue);
        break;

    case BLOB:
        if ( binValue.GetSize() == 0 )
            binValue.Add(0);
        RFX_Binary(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), binValue, MAX_FILE_LENGHT);
        break;
    }
}
Exemplo n.º 7
0
void CTipiMaterialeSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CTipiMaterialeSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[Codice]"), m_Codice);
	RFX_Text(pFX, _T("[Nome]"), m_Nome);
	RFX_Text(pFX, _T("[Descrizione]"), m_Descrizione);
	RFX_Long(pFX, _T("[TipoCertificato]"), m_TipoCertificato);
	RFX_Long(pFX, _T("[TipoCertificato2]"), m_TipoCertificato2);
	RFX_Long(pFX, _T("[TipoCertificato3]"), m_TipoCertificato3);
	RFX_Long(pFX, _T("[TipoCertificato4]"), m_TipoCertificato4);
	RFX_Long(pFX, _T("[TipoCertificato5]"), m_TipoCertificato5);
	RFX_Double(pFX, _T("[Snervamento]"), m_Snervamento);
	RFX_Text(pFX, _T("[ID]"), m_ID);
	RFX_Byte(pFX, _T("[DiDefault]"), m_DiDefault);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 8
0
void CRRecordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CRRecordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[VR_ID]"), m_VR_ID);
	RFX_Text(pFX, _T("[VR_Huom]"), m_VR_Huom);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 9
0
void CGroupSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CGroupSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[group_id]"), m_group_id);
	RFX_Text(pFX, _T("[group_name]"), m_group_name);
	//}}AFX_FIELD_MAP
}
void CMenuRecord::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// Macros such as RFX_Text() and RFX_Int() are dependent on the
// type of the member variable, not the type of the field in the database.
// ODBC will try to automatically convert the column value to the requested type
	RFX_Long(pFX, _T("[Starters].[S_ID]"), m_StartersS_ID);
	RFX_Text(pFX, _T("[Starters].[S_Item]"), m_StartersS_Item);
	RFX_Long(pFX, _T("[Starters].[Price]"), m_StartersPrice);
	RFX_Long(pFX, _T("[Tandoor].[T_ID]"), m_TandoorT_ID);
	RFX_Text(pFX, _T("[Tandoor].[T_Item]"), m_TandoorT_Item);
	RFX_Long(pFX, _T("[Tandoor].[Price]"), m_TandoorPrice);
	RFX_Long(pFX, _T("[Veggie].[V_ID]"), m_VeggieV_ID);
	RFX_Text(pFX, _T("[Veggie].[V_Item]"), m_VeggieV_Item);
	RFX_Long(pFX, _T("[Veggie].[Price]"), m_VeggiePrice);

}
Exemplo n.º 11
0
void CPersonSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CPersonSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[Person]"), m_Person);
	RFX_Long(pFX, _T("[PersonID]"), m_PersonID);
	//}}AFX_FIELD_MAP
}
void CKnightsUserSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CKnightsUserSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[sIDNum]"), m_sIDNum);
	RFX_Text(pFX, _T("[strUserID]"), m_strUserID);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 13
0
void CMagicType3Set::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CMagicType3Set)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[iNum]"), m_iNum);
	RFX_Text(pFX, _T("[Name]"), m_Name);
	RFX_Text(pFX, _T("[Description]"), m_Description);
	RFX_Byte(pFX, _T("[Radius]"), m_Radius);
	RFX_Int(pFX, _T("[Angle]"), m_Angle);
	RFX_Byte(pFX, _T("[DirectType]"), m_DirectType);
	RFX_Int(pFX, _T("[FirstDamage]"), m_FirstDamage);
	RFX_Int(pFX, _T("[EndDamage]"), m_EndDamage);
	RFX_Int(pFX, _T("[TimeDamage]"), m_TimeDamage);
	RFX_Byte(pFX, _T("[Duration]"), m_Duration);
	RFX_Byte(pFX, _T("[Attribute]"), m_Attribute);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 14
0
void CRSVendedores::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CRSVendedores)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[vd_Codigo]"), m_vd_Codigo);
	RFX_Text(pFX, _T("[vd_Nome]"), m_vd_Nome);
	RFX_Text(pFX, _T("[vd_Senha]"), m_vd_Senha);
	RFX_Date(pFX, _T("[vd_UltimaAtualizacao]"), m_vd_UltimaAtualizacao);
	RFX_Int(pFX, _T("[vd_TabelaPrecos]"), m_vd_TabelaPrecos);
	//}}AFX_FIELD_MAP

	if (m_nParams)
	{
		pFX->SetFieldType( CFieldExchange::param );
		// RFX calls for parameter data members
		RFX_Int(pFX, _T("m_parm_Codigo"), m_parm_Codigo);
	}}
void CServerResourceSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CServerResourceSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[nResourceID]"), m_nResourceID);
	RFX_Text(pFX, _T("[strResource]"), m_strResource, 255);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 16
0
void CRstExamType::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CRstExamType)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[F_ID]"), m_F_ID);
	RFX_Text(pFX, _T("[F_ItemName]"), m_F_ItemName);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 17
0
void CtbLoginUser::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Long(pFX, _T("[Id]"), m_Id);
	RFX_Text(pFX, _T("[LoginName]"), m_LoginName);
	RFX_Text(pFX, _T("[LoginPassWd]"), m_LoginPassWd);
	RFX_Date(pFX, _T("[LastLoginInTime]"), m_LastLoginInTime);
	RFX_Date(pFX, _T("[CreatedDateTime]"), m_CreatedDateTime);
	RFX_Long(pFX, _T("[PermissionLevel]"), m_PermissionLevel);
	RFX_Date(pFX, _T("[LastUpdatedDateTime]"), m_LastUpdatedDateTime);
	RFX_Long(pFX, _T("[IsAutoLogin]"), m_IsAutoLogin);
	RFX_Long(pFX, _T("[IsRememberPasswd]"), m_IsRememberPasswd);

}
Exemplo n.º 18
0
void CColumns::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CColumns)
	pFX->SetFieldType(CFieldExchange::outputColumn);              
	
	RFX_Text(pFX, "table_qualifier", m_strQualifier);
	RFX_Text(pFX, "table_owner", m_strOwner);
	RFX_Text(pFX, "table_name", m_strTableName);
	RFX_Text(pFX, "column_name", m_strColumnName);
	RFX_Int(pFX, "data_type", m_nDataType);
	RFX_Text(pFX, "type_name", m_strTypeName);
	RFX_Long(pFX, "precision", m_lPrecision);
	RFX_Long(pFX, "length", m_lLength);
	RFX_Int(pFX, "scale", m_nScale);
	RFX_Int(pFX, "radix", m_nRadix);
	RFX_Int(pFX, "nullable", m_nNullable);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 19
0
void CAreaSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CAreaSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[areaid]"), m_areaid);
	RFX_Text(pFX, _T("[custid]"), m_custid);
	RFX_Int(pFX, _T("[areasize]"), m_areasize);
	RFX_Int(pFX, _T("[is_trailer]"), m_is_trailer);
	RFX_Text(pFX, _T("[description]"), m_description);
	//}}AFX_FIELD_MAP
	m_areaid.TrimLeft();
	m_areaid.TrimRight();
	m_custid.TrimLeft();
	m_custid.TrimRight();
	m_description.TrimLeft();
	m_description.TrimRight();

}
Exemplo n.º 20
0
void CILGTimeTable::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CILGTimeTable)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[TimeTableVersionName]"), m_TimeTableVersionName);
	RFX_Date(pFX, _T("[ActivationDate]"), m_ActivationDate);
	RFX_Date(pFX, _T("[DeactivationDate]"), m_DeactivationDate);
	//}}AFX_FIELD_MAP
}
void CRSTitulosPorVendedor::DoFieldExchange(CFieldExchange* pFX)
{
    //{{AFX_FIELD_MAP(CRSTitulosPorVendedor)
    pFX->SetFieldType(CFieldExchange::outputColumn);
    RFX_Text(pFX, _T("[ti_Numero]"), m_ti_Numero);
    RFX_Long(pFX, _T("[ti_Cliente]"), m_ti_Cliente);
    RFX_Text(pFX, _T("[ti_Valor]"), m_ti_Valor);
    RFX_Text(pFX, _T("[ti_Emissao]"), m_ti_Emissao);
    RFX_Text(pFX, _T("[ti_Vencimento]"), m_ti_Vencimento);
    //}}AFX_FIELD_MAP

    if (m_nParams)
    {
        pFX->SetFieldType( CFieldExchange::param );
        // RFX calls for parameter data members
        RFX_Int(pFX, _T("m_parm_Vendedor"), m_parm_Vendedor);
    }
}
Exemplo n.º 22
0
void CProviniSet::DoFieldExchange(CFieldExchange* pFX)
{
	if (((CWinSigmaApp*)AfxGetApp())->m_bPrimaVolta)
    Spacciatore();

  //{{AFX_FIELD_MAP(CProviniSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[Codice]"), m_Codice);
	RFX_Long(pFX, _T("[Serie]"), m_Serie);
	RFX_Date(pFX, _T("[DataInserimento]"), m_DataInserimento);
	RFX_Binary(pFX, _T("[Risultati]"), m_Risultati);
	RFX_Text(pFX, _T("[Servizio]"), m_Servizio);
	RFX_Text(pFX, _T("[InUso]"), m_InUso);
	RFX_Long(pFX, _T("[Marchio]"), m_Marchio);
	RFX_Byte(pFX, _T("[RotoliCT]"), m_RotoliCT);
	RFX_Long(pFX, _T("[Collaudatore]"), m_Collaudatore);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 23
0
void CODBCRecordset::DoFieldExchange( CFieldExchange* pFX )
{
	pFX->SetFieldType( CFieldExchange::outputColumn );

	
	CString		cFieldName;
	for( UINT i = 0; i < m_nFields; i++ )
	{
		cFieldName.Format( "[%s]", GetFieldName(i) );
		switch( m_fields[i].m_dwType )
		{
		case	DBVT_NULL:
					break;
		case	DBVT_BOOL:
					RFX_Bool( pFX, cFieldName, m_fields[i].m_boolVal );
					break;
		case	DBVT_UCHAR:
					RFX_Byte( pFX, cFieldName, m_fields[i].m_chVal );
					break;
		case	DBVT_SHORT:
					//	CDBVariant::m_iVal is of type short
					//	RFX_Int() requires parameter of type int.
					//	Class wizard maps int variable in this case
					//	but CDBVariand does not have int member.
					m_fields[i].m_dwType = DBVT_LONG;
					RFX_Long( pFX, cFieldName, m_fields[i].m_lVal );
					break;
		case	DBVT_LONG:
					RFX_Long( pFX, cFieldName, m_fields[i].m_lVal );
					break;
		case	DBVT_SINGLE:
					RFX_Single( pFX, cFieldName, m_fields[i].m_fltVal );
					break;
		case	DBVT_DOUBLE:
					RFX_Double( pFX, cFieldName, m_fields[i].m_dblVal );
					break;
		case	DBVT_DATE:
					RFX_Date( pFX, cFieldName, *m_fields[i].m_pdate );
					break;
		case	DBVT_STRING:
				{
					CODBCFieldInfo	fi;
					GetODBCFieldInfo( i, fi );
					RFX_Text( pFX, cFieldName, *m_fields[i].m_pstring, fi.m_nPrecision );
					break;
				}
		case	DBVT_BINARY:
					RFX_LongBinary( pFX, cFieldName, *(m_fields[i].m_pbinary) );
					break;
		default:
			//	Unknown datatype
			ASSERT( FALSE );
		}
		m_fields[i].SetNull( FALSE != IsFieldStatusNull( i ) );
	}
}
Exemplo n.º 24
0
void CHuutokauppaRS::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CHuutokauppaRS)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[HK_Nr]"), m_HK_Nr);
	RFX_Date(pFX, _T("[HK_Aika]"), m_HK_Aika);
	RFX_Date(pFX, _T("[HK_KuittausAika]"), m_HK_KuittausAika);
	RFX_Text(pFX, _T("[HK_Huom]"), m_HK_Huom);
	//}}AFX_FIELD_MAP
}
Exemplo n.º 25
0
//--------------------------------------------------------------------------------
void CHL7DBPM_RegisterProcess::DoFieldExchange(CFieldExchange* pFX)
	{
	//{{AFX_FIELD_MAP(CHL7DBPM_RegisterProcess)
	//}}AFX_FIELD_MAP
	pFX->SetFieldType(CFieldExchange::inputParam);
	RFX_Text(pFX, _T(""), m_sParam);

	pFX->SetFieldType(CFieldExchange::outputParam);
	RFX_Long(pFX, _T(""), m_nProcNum);
	}
Exemplo n.º 26
0
void CSessions::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// Macros such as RFX_Text() and RFX_Int() are dependent on the
// type of the member variable, not the type of the field in the database.
// ODBC will try to automatically convert the column value to the requested type
	RFX_Long(pFX, _T("[ID]"), m_ID);
	RFX_Text(pFX, _T("[NAME]"), m_NAME);

}
Exemplo n.º 27
0
void CBrandTypeIndex::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Text(pFX, _T("[Brand]"), m_Brand);
	RFX_Long(pFX, _T("[BrandIndex]"), m_BrandIndex);

}
Exemplo n.º 28
0
void CClassifyRecordSet::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Long(pFX, _T("[id]"), m_id);
	RFX_Text(pFX, _T("[name]"), m_name);
	RFX_Long(pFX, _T("[color]"), m_color);
}
Exemplo n.º 29
0
void CPLSModel::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Text(pFX, _T("[AlcoholContent]"), m_AlcoholContent);
	RFX_Text(pFX, _T("[Flavour]"), m_Flavour);
	RFX_Text(pFX, _T("[Brand]"), m_Brand);
	RFX_Long(pFX, _T("[FactorNum]"), m_FactorNum);
	RFX_Long(pFX, _T("[ClassCount]"), m_ClassCount);
	RFX_Text(pFX, _T("[Weight]"), m_Weight,1000000);
	RFX_Text(pFX, _T("[Labels]"), m_Labels,1000000);
	RFX_Text(pFX, _T("[Num_EachLabel]"), m_Num_EachLabel,1000000);
	RFX_Text(pFX, _T("[StandardPC]"), m_StandardPC,1000000);
	RFX_Text(pFX, _T("[TrainsetPC]"), m_TrainsetPC,100000000);
	RFX_Text(pFX, _T("[TrainsetMean]"), m_TrainsetMean,1000000);
	RFX_Text(pFX, _T("[Threshold]"), m_Threshold,1000000);

}
Exemplo n.º 30
0
void CBRecordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CBRecordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[科目]"), m_column1);
	RFX_Single(pFX, _T("[总成绩]"), m_column2);
	RFX_Single(pFX, _T("[平均成绩]"), m_column3);
	RFX_Long(pFX, _T("[及格人数]"), m_column4);
	RFX_Long(pFX, _T("[优秀人数]"), m_column5);
	//}}AFX_FIELD_MAP
}