void TCatDefInt::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(TCatDefInt)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[IntervalID]"), m_IntervalID);
	RFX_Long(pFX, _T("[CategoryID]"), m_CategoryID);
	RFX_Long(pFX, _T("[FromValueID]"), m_FromValueID);
	RFX_Long(pFX, _T("[ToValueID]"), m_ToValueID);
	RFX_Long(pFX, _T("[LeftBracketTypeID]"), m_LeftBracketTypeID);
	RFX_Long(pFX, _T("[RightBracketTypeID]"), m_RightBracketTypeID);
	RFX_Long(pFX, _T("[ValueID]"), m_ValueID);
	RFX_Long(pFX, _T("[tmValue].[ValueSubTypeID]"), m_ValueSubTypeID);
	RFX_Long(pFX, _T("[ValueLong]"), m_ValueLong);
	RFX_Double(pFX, _T("[ValueFloat]"), m_ValueFloat);
	RFX_Text(pFX, _T("[ValueString]"), m_ValueString);
	RFX_Bool(pFX, _T("[ValueBool]"), m_ValueBool);
	RFX_Date(pFX, _T("[ValueDate]"), m_ValueDate);
	RFX_Long(pFX, _T("[InfinityTypeID]"), m_InfinityTypeID);
	RFX_Bool(pFX, _T("[IsNULL]"), m_IsNULL);
	RFX_Long(pFX, _T("[BracketTypeID]"), m_BracketTypeID);
	RFX_Text(pFX, _T("[tsBracketType].[Name]"), m_Name);
	RFX_Text(pFX, _T("[tsBracketType].[ShortName]"), m_ShortName);
	RFX_Long(pFX, _T("[tsBracketType].[Ord]"), m_Ord);
	RFX_Text(pFX, _T("[LeftBracket]"), m_LeftBracket);
	RFX_Text(pFX, _T("[RightBracket]"), m_RightBracket);
	RFX_Text(pFX, _T("[tsBracketType].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[tsValueSubType].[ValueSubTypeID]"), m_ValueSubTypeID2);
	RFX_Text(pFX, _T("[tsValueSubType].[Name]"), m_Name2);
	RFX_Text(pFX, _T("[tsValueSubType].[ShortName]"), m_ShortName2);
	RFX_Bool(pFX, _T("[Cardinal]"), m_Cardinal);
	RFX_Long(pFX, _T("[tsValueSubType].[Ord]"), m_Ord2);
	RFX_Text(pFX, _T("[tsValueSubType].[Notice]"), m_Notice2);
	//}}AFX_FIELD_MAP
}
예제 #2
0
void CHKLainarivitRS::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CHKLainarivitRS)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[HLR_ID]"), m_HLR_ID);
	RFX_Long(pFX, _T("[HLR_HKL_LA_Nr]"), m_HLR_HKL_LA_Nr);
	RFX_Long(pFX, _T("[HLR_RiviNr]"), m_HLR_RiviNr);
	RFX_Text(pFX, _T("[HLR_TuNr]"), m_HLR_TuNr);
	RFX_Long(pFX, _T("[HLR_Maara]"), m_HLR_Maara);
	RFX_Text(pFX, _T("[HLR_Yks]"), m_HLR_Yks);
	RFX_Double(pFX, _T("[HLR_YksPaino]"), m_HLR_YksPaino);
	RFX_Bool(pFX, _T("[HLR_SiirtoMyymalaan]"), m_HLR_SiirtoMyymalaan);
	RFX_Bool(pFX, _T("[HLR_EiListoille]"), m_HLR_EiListoille);
	RFX_Text(pFX, _T("[HLR_Kuvaus]"), m_HLR_Kuvaus);
	//RFX_Text(pFX, _T("[HLR_Huom]"), m_HLR_Huom);
	RFX_Double(pFX, _T("[HLR_Laina]"), m_HLR_Laina);
	//RFX_Text(pFX, _T("[HLR_Varasto]"), m_HLR_Varasto);
	RFX_Double(pFX, _T("[HLR_KorotKulut]"), m_HLR_KorotKulut);
	RFX_Double(pFX, _T("[HLR_HKkulut]"), m_HLR_HKkulut);
	RFX_Double(pFX, _T("[HLR_Pohjahinta]"), m_HLR_Pohjahinta);
	RFX_Double(pFX, _T("[HLR_KorkeinTarjous]"), m_HLR_KorkeinTarjous);
	RFX_Text(pFX, _T("[HLR_TarjoajanNimi]"), m_HLR_TarjoajanNimi);
	RFX_Double(pFX, _T("[HLR_MyyntiRaja]"), m_HLR_MyyntiRaja);
	RFX_Double(pFX, _T("[HLR_Myyntihinta]"), m_HLR_Myyntihinta);
	RFX_Text(pFX, _T("[HLR_OstajanNimi]"), m_HLR_OstajanNimi);
	RFX_Text(pFX, _T("[HLR_MyyntiHuom]"), m_HLR_MyyntiHuom);
	RFX_Date(pFX, _T("[HLR_MyyntiPv]"), m_HLR_MyyntiPv);
	//}}AFX_FIELD_MAP
}
예제 #3
0
void CtbPLCSymbol::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("[AddressType]"), m_AddressType);
    RFX_Text(pFX, _T("[AddressIndex]"), m_AddressIndex);
    RFX_Long(pFX, _T("[PLCId]"), m_PLCId);
    RFX_Long(pFX, _T("[ProcessModuleId]"), m_ProcessModuleId);
    RFX_Long(pFX, _T("[DeviceId]"), m_DeviceId);
    RFX_Text(pFX, _T("[Value]"), m_Value);
    RFX_Bool(pFX, _T("[IsVisible]"), m_IsVisible);
    RFX_Bool(pFX, _T("[IsConfig]"), m_IsConfig);
    RFX_Text(pFX, _T("[PlcName]"), m_PlcName);
    RFX_Text(pFX, _T("[ProductionLineName]"), m_ProductionLineName);
    RFX_Text(pFX, _T("[ProcessModuleName]"), m_ProcessModuleName);
    RFX_Text(pFX, _T("[DeviceName]"), m_DeviceName);
    RFX_Text(pFX, _T("[ValueType]"), m_ValueType);
    RFX_Text(pFX, _T("[strNote]"), m_strNote);
    RFX_Bool(pFX, _T("[IsReadOnly]"), m_IsReadOnly);
    RFX_Long(pFX, _T("[ProductionLineId]"), m_ProductionLineId);

}
void CRSProdutosComPrecos::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CRSProdutosComPrecos)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[pr_Tabela]"), m_pr_Tabela);
	RFX_Long(pFX, _T("[pr_Produto]"), m_pr_Produto);
	RFX_Text(pFX, _T("[pr_Preco1]"), m_pr_Preco1);
	RFX_Text(pFX, _T("[pr_Preco2]"), m_pr_Preco2);
	RFX_Text(pFX, _T("[pr_Preco3]"), m_pr_Preco3);
	RFX_Text(pFX, _T("[pr_Preco4]"), m_pr_Preco4);
	RFX_Text(pFX, _T("[pr_Preco5]"), m_pr_Preco5);
	RFX_Text(pFX, _T("[pr_Preco6]"), m_pr_Preco6);
	RFX_Text(pFX, _T("[pr_Preco7]"), m_pr_Preco7);
	RFX_Text(pFX, _T("[pr_Preco8]"), m_pr_Preco8);
	RFX_Date(pFX, _T("[pr_TimeStamp]"), m_pr_TimeStamp);
	RFX_Long(pFX, _T("[pd_Codigo]"), m_pd_Codigo);
	RFX_Byte(pFX, _T("[pd_Digito]"), m_pd_Digito);
	RFX_Text(pFX, _T("[pd_Descricao]"), m_pd_Descricao);
	RFX_Bool(pFX, _T("[pd_Disponivel]"), m_pd_Disponivel);
	RFX_Date(pFX, _T("[pd_TimeStamp]"), m_pd_TimeStamp);
	RFX_Date(pFX, _T("[pd_DisponibilidadeTimeStamp]"), m_pd_DisponibilidadeTimeStamp);
	RFX_Text(pFX, _T("[pd_Embalagem]"), m_pd_Embalagem);
	RFX_Long(pFX, _T("[pd_EmbalagemMaster]"), m_pd_EmbalagemMaster);
	RFX_Text(pFX, _T("[pd_PesoBruto]"), m_pd_PesoBruto);
	RFX_Text(pFX, _T("[pd_Unidade]"), m_pd_Unidade);
	RFX_Long(pFX, _T("[pd_Unidades]"), m_pd_Unidades);
	//}}AFX_FIELD_MAP
}
예제 #5
0
파일: ABFALSET.CPP 프로젝트: hkaiser/TRiAS
void CAbfallSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CAbfallSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[Nummer]"), m_strNummer);
	RFX_Text(pFX, _T("[Abfallnummer]"), m_strAbfallnummer);
	RFX_Text(pFX, _T("[Transporteurnummer]"), m_strTransporteurnummer);
	RFX_Text(pFX, _T("[Entsorgernummer]"), m_strEntsorgernummer);
	RFX_Double(pFX, _T("[Menge_t]"), m_dMenge_t);
	RFX_Text(pFX, _T("[Entsorgungsverfahren]"), m_strEntsorgungsverfahren);
	RFX_Text(pFX, _T("[Nachweisnummer]"), m_strNachweisnummer);
	RFX_Text(pFX, _T("[Prioritaet]"), m_strPrioritaet);
	RFX_Bool(pFX, _T("[Bearbeitet]"), m_bBearbeitet);
	RFX_Text(pFX, _T("[Transporteurbemerkungen]"), m_strTransportBemerkung);
	RFX_Text(pFX, _T("[Entsorgerbemerkungen]"), m_strEntsorgerBemerkung);
	//}}AFX_FIELD_MAP

	if (m_nParams > 0)
	{	                    
		pFX->SetFieldType(CFieldExchange::param);
		RFX_Text(pFX, "Nummer", m_strErzNrParam, sMaxErzNrLen);

		if (m_nParams > 1)
			RFX_Text(pFX, "Abfallnummer", m_strAsnParam, sMaxAsnNrLen);
	}
}
예제 #6
0
void CTagStructs::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("[UniqueID]"), m_UniqueID);
	RFX_Text(pFX, _T("[OwnerOfData]"), m_OwnerOfData);
	RFX_Text(pFX, _T("[csTagID]"), m_csTagID);
	RFX_Long(pFX, _T("[iType]"), m_iType);
	RFX_Long(pFX, _T("[iiBatteryLevel]"), m_iiBatteryLevel);
	RFX_Text(pFX, _T("[csFirmwareVersion]"), m_csFirmwareVersion);
	RFX_Long(pFX, _T("[iBatchNumber]"), m_iBatchNumber);
	RFX_Long(pFX, _T("[iBeacon]"), m_iBeacon);
	RFX_Long(pFX, _T("[iTemperature]"), m_iTemperature);
	RFX_Date(pFX, _T("[ctNextMaintenance]"), m_ctNextMaintenance);
	RFX_Long(pFX, _T("[iDeviceKind]"), m_iDeviceKind);
	RFX_Long(pFX, _T("[iMovementDuration]"), m_iMovementDuration);
	RFX_Long(pFX, _T("[iPower]"), m_iPower);
	RFX_Long(pFX, _T("[iSource]"), m_iSource);
	RFX_Long(pFX, _T("[uiActiveHardware]"), m_uiActiveHardware);
	RFX_Long(pFX, _T("[iDataRate]"), m_iDataRate);
	RFX_Bool(pFX, _T("[bLightDetected]"), m_bLightDetected);

}
예제 #7
0
파일: BGSSET.CPP 프로젝트: hkaiser/TRiAS
void CBgsSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CBgsSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[Abfallschluesselnummer]"), m_strAbfallschluesselnummer);
	RFX_Text(pFX, _T("[Befoerderernummer]"), m_strBefoerderernummer);
	RFX_Text(pFX, _T("[Entsorgernummer]"), m_strEntsorgernummer);
	RFX_Text(pFX, _T("[Entsorgungsverfahren]"), m_strEntsorgungsverfahren);
	RFX_Text(pFX, _T("[Erzeugernummer]"), m_strErzeugernummer);
	RFX_Double(pFX, _T("[Menge]"), m_dMenge);
	RFX_Double(pFX, _T("[Menge_en]"), m_dMenge_en);
	RFX_Text(pFX, _T("[Nachweisnummer]"), m_strNachweisnummer);
	RFX_Bool(pFX, _T("[Bearbeitet]"), m_bBearbeitet);
	RFX_Text(pFX, _T("[Prioritaet]"), m_strPrioritaet);

	//}}AFX_FIELD_MAP

	if (m_nParams > 0)
	{	                                                
		pFX->SetFieldType(CFieldExchange::param);	                                                
		RFX_Text(pFX, "Erzeugernummer", m_strErzNrParam, sMaxErzNrLen);

		if (m_nParams > 1)
			RFX_Text(pFX, "Abfallschluesselnummer", m_strAsnParam, sMaxAsnNrLen);
	}		
}
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 CF_Cedent_Recordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CF_Cedent_Recordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[taTask].[TaskID]"), m_TaskID);
	RFX_Text(pFX, _T("[taTask].[Name]"), m_Name);
	RFX_Long(pFX, _T("[taTask].[TaskSubTypeID]"), m_TaskSubTypeID);
	RFX_Long(pFX, _T("[TaskGroupID]"), m_TaskGroupID);
	RFX_Long(pFX, _T("[UserID]"), m_UserID);
	RFX_Long(pFX, _T("[taTask].[MatrixID]"), m_MatrixID);
	RFX_Long(pFX, _T("[ParamBASE]"), m_ParamBASE);
	RFX_Bool(pFX, _T("[ParamBASERelativ]"), m_ParamBASERelativ);
	RFX_Bool(pFX, _T("[ReadOnly]"), m_ReadOnly);
	RFX_Bool(pFX, _T("[HypothesisGenerated]"), m_HypothesisGenerated);
	RFX_Bool(pFX, _T("[GenerationInterrupted]"), m_GenerationInterrupted);
	RFX_Long(pFX, _T("[GenerationNrOfTests]"), m_GenerationNrOfTests);
	RFX_Date(pFX, _T("[GenerationStartTime]"), m_GenerationStartTime);
	RFX_Long(pFX, _T("[GenerationTotalTime]"), m_GenerationTotalTime);
	RFX_Text(pFX, _T("[taTask].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[CFCedentDID]"), m_CFCedentDID);
	RFX_Long(pFX, _T("[tdCFCedentD].[TaskID]"), m_TaskID2);
	RFX_Text(pFX, _T("[tdCFCedentD].[Name]"), m_Name2);
	RFX_Long(pFX, _T("[tdCFCedentD].[CedentTypeID]"), m_CedentTypeID);
	RFX_Long(pFX, _T("[MinLen]"), m_MinLen);
	RFX_Long(pFX, _T("[MaxLen]"), m_MaxLen);
	RFX_Text(pFX, _T("[tdCFCedentD].[Notice]"), m_Notice2);
	RFX_Long(pFX, _T("[tdCFCedentD].[Ord]"), m_Ord);
	RFX_Long(pFX, _T("[tmMatrix].[MatrixID]"), m_MatrixID2);
	RFX_Text(pFX, _T("[tmMatrix].[Name]"), m_Name3);
	RFX_Bool(pFX, _T("[Initialised]"), m_Initialised);
	RFX_Long(pFX, _T("[RecordCount]"), m_RecordCount);
	RFX_Text(pFX, _T("[tmMatrix].[Notice]"), m_Notice3);
	RFX_Long(pFX, _T("[wSavedCountUsed]"), m_wSavedCountUsed);
	RFX_Long(pFX, _T("[tsCedentType].[CedentTypeID]"), m_CedentTypeID2);
	RFX_Text(pFX, _T("[tsCedentType].[Name]"), m_Name4);
	RFX_Text(pFX, _T("[tsCedentType].[ShortName]"), m_ShortName);
	RFX_Long(pFX, _T("[tsCedentType].[Ord]"), m_Ord2);
	RFX_Text(pFX, _T("[tsCedentType].[Notice]"), m_Notice4);
	RFX_Long(pFX, _T("[tsTaskSubType].[TaskSubTypeID]"), m_TaskSubTypeID2);
	RFX_Text(pFX, _T("[tsTaskSubType].[Name]"), m_Name5);
	RFX_Text(pFX, _T("[tsTaskSubType].[ShortName]"), m_ShortName2);
	RFX_Long(pFX, _T("[tsTaskSubType].[Ord]"), m_Ord3);
	RFX_Text(pFX, _T("[tsTaskSubType].[Notice]"), m_Notice5);
	//}}AFX_FIELD_MAP
}
예제 #10
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 ) );
	}
}
예제 #11
0
void CSetVorlagen::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CSetVorlagen)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[ID]"), m_ID);
	RFX_Text(pFX, _T("[Kode]"), m_Kode);
	RFX_Text(pFX, _T("[Name]"), m_Name);
	RFX_Text(pFX, _T("[Pfad]"), m_Pfad);
	RFX_Int(pFX, _T("[Typ]"), m_Typ);
	RFX_Bool(pFX, _T("[NurLesen]"), m_NurLesen);
	//}}AFX_FIELD_MAP
}
예제 #12
0
void CInventorydbset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CInventorydbset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[clients].[id]"), m_id);
	RFX_Text(pFX, _T("[client_name]"), m_client_name);
	RFX_Text(pFX, _T("[unload_place]"), m_unload_place);
	RFX_Text(pFX, _T("[contact_window]"), m_contact_window);
	RFX_Text(pFX, _T("[phone]"), m_phone);
	RFX_Text(pFX, _T("[clients].[notes]"), m_notes);
	RFX_Long(pFX, _T("[driver_salary].[id]"), m_id2);
	RFX_Text(pFX, _T("[driver_name]"), m_driver_name);
	RFX_Date(pFX, _T("[date]"), m_date);
	RFX_Long(pFX, _T("[salary]"), m_salary);
	RFX_Bool(pFX, _T("[pre_paid]"), m_pre_paid);
	RFX_Bool(pFX, _T("[driver_salary].[paid]"), m_paid);
	RFX_Text(pFX, _T("[driver_salary].[notes]"), m_notes2);
	RFX_Long(pFX, _T("[drivers].[id]"), m_id3);
	RFX_Text(pFX, _T("[drivername]"), m_drivername);
	RFX_Long(pFX, _T("[driverage]"), m_driverage);
	RFX_Text(pFX, _T("[driverfrom]"), m_driverfrom);
	RFX_Date(pFX, _T("[employdate]"), m_employdate);
	RFX_Long(pFX, _T("[mnt_id]"), m_mnt_id);
	RFX_Date(pFX, _T("[mnt_date]"), m_mnt_date);
	RFX_Text(pFX, _T("[truck_number]"), m_truck_number);
	RFX_Text(pFX, _T("[mnt_item]"), m_mnt_item);
	RFX_Long(pFX, _T("[mnt_price]"), m_mnt_price);
	RFX_Bool(pFX, _T("[truck_mnt].[paid]"), m_paid2);
	RFX_Text(pFX, _T("[truck_mnt].[notes]"), m_notes3);
	RFX_Long(pFX, _T("[trucks].[id]"), m_id4);
	RFX_Text(pFX, _T("[trucknumber]"), m_trucknumber);
	RFX_Text(pFX, _T("[truckmodel]"), m_truckmodel);
	RFX_Long(pFX, _T("[truckload]"), m_truckload);
	RFX_Long(pFX, _T("[userid]"), m_userid);
	RFX_Text(pFX, _T("[user_name]"), m_user_name);
	RFX_Text(pFX, _T("[password]"), m_password);
	RFX_Text(pFX, _T("[full_name]"), m_full_name);
	RFX_Text(pFX, _T("[users].[notes]"), m_notes4);
	//}}AFX_FIELD_MAP
}
void TKLLiteral::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(TKLLiteral)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[KLLiteralDID]"), m_KLLiteralDID);
	RFX_Long(pFX, _T("[KLCedentDID]"), m_KLCedentDID);
	RFX_Long(pFX, _T("[tdKLLiteralD].[QuantityID]"), m_QuantityID);
	RFX_Long(pFX, _T("[Ord]"), m_Ord);
	RFX_Text(pFX, _T("[tdKLLiteralD].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[tmAttribute].[AttributeID]"), m_AttributeID);
	RFX_Text(pFX, _T("[tmAttribute].[Name]"), m_Name);
	RFX_Long(pFX, _T("[MatrixID]"), m_MatrixID);
	RFX_Long(pFX, _T("[AttributeSubTypeID]"), m_AttributeSubTypeID);
	RFX_Long(pFX, _T("[ValueSubTypeID]"), m_ValueSubTypeID);
	RFX_Bool(pFX, _T("[Derived]"), m_Derived);
	RFX_Text(pFX, _T("[Formula]"), m_Formula);
	RFX_Long(pFX, _T("[MCPosition]"), m_MCPosition);
	RFX_Long(pFX, _T("[MCLength]"), m_MCLength);
	RFX_Text(pFX, _T("[MCDelimiter]"), m_MCDelimiter);
	RFX_Long(pFX, _T("[PrimaryKeyPosition]"), m_PrimaryKeyPosition);
	RFX_Double(pFX, _T("[ValueMin]"), m_ValueMin);
	RFX_Double(pFX, _T("[ValueMax]"), m_ValueMax);
	RFX_Double(pFX, _T("[ValueAvg]"), m_ValueAvg);
	RFX_Double(pFX, _T("[ValueModus]"), m_ValueModus);
	RFX_Double(pFX, _T("[ValueVariability]"), m_ValueVariability);
	RFX_Text(pFX, _T("[tmAttribute].[Notice]"), m_Notice2);
	RFX_Long(pFX, _T("[tmAttribute].[wSavedCountUsed]"), m_wSavedCountUsed);
	RFX_Long(pFX, _T("[tmQuantity].[QuantityID]"), m_QuantityID2);
	RFX_Text(pFX, _T("[tmQuantity].[Name]"), m_Name2);
	RFX_Text(pFX, _T("[ShortName]"), m_ShortName);
	RFX_Bool(pFX, _T("[ShowName]"), m_ShowName);
	RFX_Long(pFX, _T("[tmQuantity].[AttributeID]"), m_AttributeID2);
	RFX_Long(pFX, _T("[ItemShift]"), m_ItemShift);
	RFX_Long(pFX, _T("[ParentGroupID]"), m_ParentGroupID);
	RFX_Long(pFX, _T("[tmQuantity].[wSavedCountUsed]"), m_wSavedCountUsed2);
	RFX_Long(pFX, _T("[wUpdateVer]"), m_wUpdateVer);
	RFX_Long(pFX, _T("[UserID]"), m_UserID);
	RFX_Text(pFX, _T("[tmQuantity].[Notice]"), m_Notice3);
	//}}AFX_FIELD_MAP
}
예제 #14
0
파일: TuoteRS.cpp 프로젝트: raimoj/pawnshop
void CTuoteRS::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CTuoteRS)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[TU_Tunnus]"), m_TU_Tunnus);
	RFX_Text(pFX, _T("[TU_TR_Ryhma]"), m_TU_Ryhma);
	RFX_Text(pFX, _T("[TU_Numero]"), m_TU_Numero);
	RFX_Text(pFX, _T("[TU_Kuvaus]"), m_TU_Kuvaus);
	RFX_Bool(pFX, _T("[TU_Jalometalli]"), m_TU_Jalometalli);
	RFX_Text(pFX, _T("[TU_Yks]"), m_TU_Yks);
	RFX_Double(pFX, _T("[TU_YksHinta]"), m_TU_YksHinta);
	//}}AFX_FIELD_MAP
}
예제 #15
0
void CDBSQL::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CDBSQL)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[unTrunkNumber]"), m_unTrunkNumber);
	RFX_Long(pFX, _T("[unPortSelectStatus]"), m_unPortSelectStatus);
	RFX_Long(pFX, _T("[unPCPortNumber]"), m_unPCPortNumber);
	RFX_Long(pFX, _T("[unMultiPortNumber]"), m_unMultiPortNumber);
	RFX_Long(pFX, _T("[unTrunkNO]"), m_unTrunkNO);
	RFX_Long(pFX, _T("[unPortNO]"), m_unPortNO);
	RFX_Bool(pFX, _T("[bPortStatus]"), m_bPortStatus);
	//}}AFX_FIELD_MAP
}
예제 #16
0
void CDivisions::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("[DivisionID]"), m_DivisionID);
	RFX_Text(pFX, _T("[DivisionName]"), m_DivisionName);
	RFX_Long(pFX, _T("[ConferenceID]"), m_ConferenceID);
	RFX_Bool(pFX, _T("[BaseDivision]"), m_BaseDivision);
	RFX_Date(pFX, _T("[LastUpdateTime]"), m_LastUpdateTime);

}
void CReceiveSet::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Long(pFX, _T("[message_id]"), m_message_id);
	RFX_Text(pFX, _T("[message_infor]"), m_message_infor);
	RFX_Text(pFX, _T("[sender]"), m_sender);
	RFX_Date(pFX, _T("[send_date]"), m_send_date);
	RFX_Text(pFX, _T("[receiver]"), m_receiver);
	RFX_Text(pFX, _T("[message_level]"), m_message_level);
	RFX_Bool(pFX, _T("[is_read]"), m_is_read);

}
void Hyp_KL_Recordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(Hyp_KL_Recordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[taTask].[TaskID]"), m_TaskID);
	RFX_Text(pFX, _T("[taTask].[Name]"), m_Name);
	RFX_Long(pFX, _T("[TaskSubTypeID]"), m_TaskSubTypeID);
	RFX_Long(pFX, _T("[TaskGroupID]"), m_TaskGroupID);
	RFX_Long(pFX, _T("[UserID]"), m_UserID);
	RFX_Long(pFX, _T("[taTask].[MatrixID]"), m_MatrixID);
	RFX_Long(pFX, _T("[ParamBASE]"), m_ParamBASE);
	RFX_Bool(pFX, _T("[ParamBASERelativ]"), m_ParamBASERelativ);
	RFX_Bool(pFX, _T("[ReadOnly]"), m_ReadOnly);
	RFX_Bool(pFX, _T("[HypothesisGenerated]"), m_HypothesisGenerated);
	RFX_Bool(pFX, _T("[GenerationInterrupted]"), m_GenerationInterrupted);
	RFX_Long(pFX, _T("[GenerationNrOfTests]"), m_GenerationNrOfTests);
	RFX_Date(pFX, _T("[GenerationStartTime]"), m_GenerationStartTime);
	RFX_Long(pFX, _T("[GenerationTotalTime]"), m_GenerationTotalTime);
	RFX_Text(pFX, _T("[taTask].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[HypothesisKLID]"), m_HypothesisKLID);
	RFX_Long(pFX, _T("[HypothesisID]"), m_HypothesisID);
	RFX_Long(pFX, _T("[tiHypothesisKL].[TaskID]"), m_TaskID2);
	RFX_Long(pFX, _T("[Rows]"), m_Rows);
	RFX_Long(pFX, _T("[Cols]"), m_Cols);
	RFX_Long(pFX, _T("[KLLiteralDRowID]"), m_KLLiteralDRowID);
	RFX_Long(pFX, _T("[KLLiteralDColID]"), m_KLLiteralDColID);
	RFX_Long(pFX, _T("[QuantityRowUpdateVer]"), m_QuantityRowUpdateVer);
	RFX_Long(pFX, _T("[QuantityColUpdateVer]"), m_QuantityColUpdateVer);
	RFX_Long(pFX, _T("[tmMatrix].[MatrixID]"), m_MatrixID2);
	RFX_Text(pFX, _T("[tmMatrix].[Name]"), m_Name2);
	RFX_Bool(pFX, _T("[Initialised]"), m_Initialised);
	RFX_Long(pFX, _T("[RecordCount]"), m_RecordCount);
	RFX_Text(pFX, _T("[tmMatrix].[Notice]"), m_Notice2);
	RFX_Long(pFX, _T("[wSavedCountUsed]"), m_wSavedCountUsed);
	//}}AFX_FIELD_MAP
}
void Hyp_CF_Recordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(Hyp_CF_Recordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[taTask].[TaskID]"), m_TaskID);
	RFX_Text(pFX, _T("[taTask].[Name]"), m_Name);
	RFX_Long(pFX, _T("[TaskSubTypeID]"), m_TaskSubTypeID);
	RFX_Long(pFX, _T("[TaskGroupID]"), m_TaskGroupID);
	RFX_Long(pFX, _T("[taTask].[UserID]"), m_UserID);
	RFX_Long(pFX, _T("[taTask].[MatrixID]"), m_MatrixID);
	RFX_Long(pFX, _T("[ParamBASE]"), m_ParamBASE);
	RFX_Bool(pFX, _T("[ParamBASERelativ]"), m_ParamBASERelativ);
	RFX_Bool(pFX, _T("[ReadOnly]"), m_ReadOnly);
	RFX_Bool(pFX, _T("[HypothesisGenerated]"), m_HypothesisGenerated);
	RFX_Bool(pFX, _T("[GenerationInterrupted]"), m_GenerationInterrupted);
	RFX_Long(pFX, _T("[GenerationNrOfTests]"), m_GenerationNrOfTests);
	RFX_Date(pFX, _T("[GenerationStartTime]"), m_GenerationStartTime);
	RFX_Long(pFX, _T("[GenerationTotalTime]"), m_GenerationTotalTime);
	RFX_Text(pFX, _T("[taTask].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[tdCFLiteralD].[CFLiteralDID]"), m_CFLiteralDID);
	RFX_Long(pFX, _T("[CFCedentDID]"), m_CFCedentDID);
	RFX_Long(pFX, _T("[tdCFLiteralD].[QuantityID]"), m_QuantityID);
	RFX_Long(pFX, _T("[Ord]"), m_Ord);
	RFX_Text(pFX, _T("[tdCFLiteralD].[Notice]"), m_Notice2);
	RFX_Long(pFX, _T("[HypothesisCFID]"), m_HypothesisCFID);
	RFX_Long(pFX, _T("[HypothesisID]"), m_HypothesisID);
	RFX_Long(pFX, _T("[tiHypothesisCF].[TaskID]"), m_TaskID2);
	RFX_Long(pFX, _T("[Cols]"), m_Cols);
	RFX_Long(pFX, _T("[tiHypothesisCF].[CFLiteralDID]"), m_CFLiteralDID2);
	RFX_Long(pFX, _T("[QuantityUpdateVer]"), m_QuantityUpdateVer);
	RFX_Long(pFX, _T("[tmMatrix].[MatrixID]"), m_MatrixID2);
	RFX_Text(pFX, _T("[tmMatrix].[Name]"), m_Name2);
	RFX_Bool(pFX, _T("[Initialised]"), m_Initialised);
	RFX_Long(pFX, _T("[RecordCount]"), m_RecordCount);
	RFX_Text(pFX, _T("[tmMatrix].[Notice]"), m_Notice3);
	RFX_Long(pFX, _T("[tmMatrix].[wSavedCountUsed]"), m_wSavedCountUsed);
	RFX_Long(pFX, _T("[tmQuantity].[QuantityID]"), m_QuantityID2);
	RFX_Text(pFX, _T("[tmQuantity].[Name]"), m_Name3);
	RFX_Text(pFX, _T("[ShortName]"), m_ShortName);
	RFX_Bool(pFX, _T("[ShowName]"), m_ShowName);
	RFX_Long(pFX, _T("[AttributeID]"), m_AttributeID);
	RFX_Long(pFX, _T("[ItemShift]"), m_ItemShift);
	RFX_Long(pFX, _T("[ParentGroupID]"), m_ParentGroupID);
	RFX_Long(pFX, _T("[tmQuantity].[wSavedCountUsed]"), m_wSavedCountUsed2);
	RFX_Long(pFX, _T("[wUpdateVer]"), m_wUpdateVer);
	RFX_Long(pFX, _T("[tmQuantity].[UserID]"), m_UserID2);
	RFX_Text(pFX, _T("[tmQuantity].[Notice]"), m_Notice4);
	//}}AFX_FIELD_MAP
}
void TKLQuantifier_Recordset::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(TKLQuantifier_Recordset)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[taTask].[TaskID]"), m_TaskID);
	RFX_Text(pFX, _T("[taTask].[Name]"), m_Name);
	RFX_Long(pFX, _T("[taTask].[TaskSubTypeID]"), m_TaskSubTypeID);
	RFX_Long(pFX, _T("[TaskGroupID]"), m_TaskGroupID);
	RFX_Long(pFX, _T("[UserID]"), m_UserID);
	RFX_Long(pFX, _T("[taTask].[MatrixID]"), m_MatrixID);
	RFX_Long(pFX, _T("[ParamBASE]"), m_ParamBASE);
	RFX_Bool(pFX, _T("[ParamBASERelativ]"), m_ParamBASERelativ);
	RFX_Bool(pFX, _T("[ReadOnly]"), m_ReadOnly);
	RFX_Bool(pFX, _T("[HypothesisGenerated]"), m_HypothesisGenerated);
	RFX_Bool(pFX, _T("[GenerationInterrupted]"), m_GenerationInterrupted);
	RFX_Long(pFX, _T("[GenerationNrOfTests]"), m_GenerationNrOfTests);
	RFX_Date(pFX, _T("[GenerationStartTime]"), m_GenerationStartTime);
	RFX_Long(pFX, _T("[GenerationTotalTime]"), m_GenerationTotalTime);
	RFX_Text(pFX, _T("[taTask].[Notice]"), m_Notice);
	RFX_Long(pFX, _T("[KLQuantifierID]"), m_KLQuantifierID);
	RFX_Long(pFX, _T("[tdKLQuantifier].[TaskID]"), m_TaskID2);
	RFX_Long(pFX, _T("[tdKLQuantifier].[KLQuantifierTypeID]"), m_KLQuantifierTypeID);
	RFX_Long(pFX, _T("[FromRow]"), m_FromRow);
	RFX_Long(pFX, _T("[FromCol]"), m_FromCol);
	RFX_Long(pFX, _T("[ToRow]"), m_ToRow);
	RFX_Long(pFX, _T("[ToCol]"), m_ToCol);
	RFX_Long(pFX, _T("[tdKLQuantifier].[CompareTypeID]"), m_CompareTypeID);
	RFX_Double(pFX, _T("[ValuePar]"), m_ValuePar);
	RFX_Long(pFX, _T("[tdKLQuantifier].[KLQuantifierValueTypeID]"), m_KLQuantifierValueTypeID);
	RFX_Double(pFX, _T("[Threshold]"), m_Threshold);
	RFX_Text(pFX, _T("[Formula]"), m_Formula);
	RFX_Long(pFX, _T("[tdKLQuantifier].[Ord]"), m_Ord);
	RFX_Bool(pFX, _T("[KendalAbsValueTauB]"), m_KendalAbsValueTauB);
	RFX_Text(pFX, _T("[tdKLQuantifier].[Notice]"), m_Notice2);
	RFX_Long(pFX, _T("[tmMatrix].[MatrixID]"), m_MatrixID2);
	RFX_Text(pFX, _T("[tmMatrix].[Name]"), m_Name2);
	RFX_Bool(pFX, _T("[Initialised]"), m_Initialised);
	RFX_Long(pFX, _T("[RecordCount]"), m_RecordCount);
	RFX_Text(pFX, _T("[tmMatrix].[Notice]"), m_Notice3);
	RFX_Long(pFX, _T("[wSavedCountUsed]"), m_wSavedCountUsed);
	RFX_Long(pFX, _T("[tsCompareType].[CompareTypeID]"), m_CompareTypeID2);
	RFX_Text(pFX, _T("[tsCompareType].[Name]"), m_Name3);
	RFX_Text(pFX, _T("[tsCompareType].[ShortName]"), m_ShortName);
	RFX_Long(pFX, _T("[tsCompareType].[Ord]"), m_Ord2);
	RFX_Text(pFX, _T("[tsCompareType].[Notice]"), m_Notice4);
	RFX_Long(pFX, _T("[tsKLQuantifierType].[KLQuantifierTypeID]"), m_KLQuantifierTypeID2);
	RFX_Text(pFX, _T("[tsKLQuantifierType].[Name]"), m_Name4);
	RFX_Text(pFX, _T("[tsKLQuantifierType].[ShortName]"), m_ShortName2);
	RFX_Long(pFX, _T("[tsKLQuantifierType].[Ord]"), m_Ord3);
	RFX_Text(pFX, _T("[tsKLQuantifierType].[Notice]"), m_Notice5);
	RFX_Long(pFX, _T("[tsKLQuantifierValueType].[KLQuantifierValueTypeID]"), m_KLQuantifierValueTypeID2);
	RFX_Text(pFX, _T("[tsKLQuantifierValueType].[Name]"), m_Name5);
	RFX_Text(pFX, _T("[tsKLQuantifierValueType].[ShortName]"), m_ShortName3);
	RFX_Long(pFX, _T("[tsKLQuantifierValueType].[Ord]"), m_Ord4);
	RFX_Text(pFX, _T("[tsKLQuantifierValueType].[Notice]"), m_Notice6);
	RFX_Long(pFX, _T("[tsTaskSubType].[TaskSubTypeID]"), m_TaskSubTypeID2);
	RFX_Text(pFX, _T("[tsTaskSubType].[Name]"), m_Name6);
	RFX_Text(pFX, _T("[tsTaskSubType].[ShortName]"), m_ShortName4);
	RFX_Long(pFX, _T("[tsTaskSubType].[Ord]"), m_Ord5);
	RFX_Text(pFX, _T("[tsTaskSubType].[Notice]"), m_Notice7);
	//}}AFX_FIELD_MAP
}