Esempio n. 1
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;
    }
}
Esempio n. 2
0
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);
	}		
}
Esempio n. 3
0
void CFattureSet::DoFieldExchange(CFieldExchange* pFX)
{
	if (((CWinSigmaApp*)AfxGetApp())->m_bPrimaVolta)
    Spacciatore();

  //{{AFX_FIELD_MAP(CFattureSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[Codice]"), m_Codice);
	RFX_Long(pFX, _T("[Intestatario]"), m_Intestatario);
	RFX_Long(pFX, _T("[TipoPagamento]"), m_TipoPagamento);
	RFX_Long(pFX, _T("[Numero]"), m_Numero);
	RFX_Date(pFX, _T("[Data]"), m_Data);
	RFX_Date(pFX, _T("[Scadenza]"), m_Scadenza);
	RFX_Text(pFX, _T("[P_IVA]"), m_P_IVA);
	RFX_Text(pFX, _T("[CodiceFiscale]"), m_CodiceFiscale);
	RFX_Text(pFX, _T("[RagioneSociale]"), m_RagioneSociale);
	RFX_Text(pFX, _T("[Indirizzo]"), m_Indirizzo);
	RFX_Text(pFX, _T("[CAP]"), m_CAP);
	RFX_Text(pFX, _T("[Citta]"), m_Citta);
	RFX_Text(pFX, _T("[Provincia]"), m_Provincia);
	RFX_Text(pFX, _T("[Banca]"), m_Banca);
	RFX_Text(pFX, _T("[ABI]"), m_ABI);
	RFX_Text(pFX, _T("[CAB]"), m_CAB);
	RFX_Double(pFX, _T("[Sconto]"), m_Sconto);
	RFX_Text(pFX, _T("[Note]"), m_Note, FATTURE_BUFFER);
	RFX_Text(pFX, _T("[IDIntestario]"), m_IDIntestatario);
	RFX_Double(pFX, _T("[AliquotaIVA]"), m_Aliquota);
	RFX_Byte(pFX, _T("[Archiviata]"), m_Archiviata);
	RFX_Double(pFX, _T("[Imponibile]"), m_Imponibile);
	RFX_Double(pFX, _T("[Spese]"), m_Spese);
	RFX_Text(pFX, _T("[Pagamento]"), m_Pagamento);
	RFX_Byte(pFX, _T("[TipoDocumento]"), m_TipoDocumento);
	RFX_Text(pFX, _T("[InUso]"), m_InUso);
	RFX_Text(pFX, _T("[ABIAppoggio]"), m_ABIAppoggio);
	RFX_Text(pFX, _T("[BancaAppoggio]"), m_BancaAppoggio);
	RFX_Text(pFX, _T("[CABAppoggio]"), m_CABAppoggio);
	RFX_Text(pFX, _T("[CINAppoggio]"), m_CINAppoggio);
	RFX_Text(pFX, _T("[ContoAppoggio]"), m_ContoAppoggio);
  RFX_Double(pFX, _T("[RitenutaAcconto]"), m_RitAcconto);
	RFX_Byte(pFX, _T("[fPA]"), m_PA);
	RFX_Byte(pFX, _T("[fIVADiff]"), m_IVADifferita);
	RFX_Byte(pFX, _T("[fElett]"), m_Elett);
	RFX_Text(pFX, _T("[CodiceDestinatario]"), m_CodiceDestinatario);
	RFX_Text(pFX, _T("[PEC]"), m_PEC);
	RFX_Text(pFX, _T("[CUP]"), m_CUP);
	RFX_Text(pFX, _T("[CIG]"), m_CIG);
	RFX_Text(pFX, _T("[OrdineAcquisto]"), m_OrdineAcquisto);
	RFX_Date(pFX, _T("[DataOrdineAcquisto]"), m_DataOrdineAcquisto);
	RFX_Text(pFX, _T("[Contratto]"), m_Contratto);
	RFX_Date(pFX, _T("[DataContratto]"), m_DataContratto);
	RFX_Text(pFX, _T("[NumeroDDT]"), m_NumeroDDT);
	RFX_Date(pFX, _T("[DataDDT]"), m_DataDDT);
	RFX_Long(pFX, _T("[CodiceXML]"), m_CodiceXML);
	RFX_Text(pFX, _T("[IBAN]"), m_IBAN);
	RFX_Text(pFX, _T("[IBANAppoggio]"), m_IBANAppoggio);
	RFX_Long(pFX, _T("[CondizioniPagamento]"), m_CondizioniPagamento);
	RFX_Text(pFX, _T("[RipartizioneImponibile]"), m_RipartizioneImponibile);
	//}}AFX_FIELD_MAP
}
Esempio n. 4
0
void CSetZW_PG2D::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CSetZW_PG2D)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Text(pFX, _T("[NFP2_IDE]"), m_NFP2_IDE);
	RFX_Text(pFX, _T("[NFP2_FLN]"), m_NFP2_FLN);
	RFX_Double(pFX, _T("[NFP2_FLG]"), m_NFP2_FLG);
	RFX_Double(pFX, _T("[NFP2_ABF]"), m_NFP2_ABF);
	RFX_Text(pFX, _T("[NFP2_ANS]"), m_NFP2_ANS);
	//}}AFX_FIELD_MAP
}
Esempio n. 5
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
}
Esempio n. 6
0
void CProveArti::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// Las macros como RFX_Text() y RFX_Int() dependen del
// tipo de variable miembro, no del tipo de campo de base de datos.
// ODBC intentará convertir automáticamente el valor de columna en el tipo solicitado
	RFX_Text(pFX, _T("[ARTI]"), m_ARTI);
	RFX_Text(pFX, _T("[CUENTA]"), m_CUENTA);
	RFX_Text(pFX, _T("[SREF]"), m_SREF);
	RFX_Text(pFX, _T("[NOMPROVE]"), m_NOMPROVE);
	RFX_Double(pFX, _T("[TARIFA]"), m_TARIFA);
	RFX_Double(pFX, _T("[DESCUENTO]"), m_DESCUENTO);

}
Esempio n. 7
0
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);
	}
}
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
}
Esempio n. 9
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 ) );
	}
}
Esempio n. 10
0
void CKassaPvKRS::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CKassaPvKRS)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[KP_Rivi]"), m_KP_Rivi);
	RFX_Long(pFX, _T("[KP_KS_Tunnus]"), m_KP_KS_Tunnus);
	RFX_Long(pFX, _T("[KP_KPP_Rivi]"), m_KP_KPP_Rivi);
	RFX_Double(pFX, _T("[KP_Saldo]"), m_KP_Saldo);
	//}}AFX_FIELD_MAP
}
Esempio n. 11
0
void CSerieSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CSerieSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Long(pFX, _T("[Codice]"), m_Codice);
	RFX_Long(pFX, _T("[Verbale]"), m_Verbale);
	RFX_Long(pFX, _T("[TipoCertificato]"), m_TipoCertificato);
	RFX_Int(pFX, _T("[NumeroProvini]"), m_NumeroProvini);
	RFX_Date(pFX, _T("[DataPrelievo]"), m_DataPrelievo);
	RFX_Date(pFX, _T("[DataProva]"), m_DataProva);
	RFX_Byte(pFX, _T("[NuovoCertificato]"), m_NuovoCertificato);
	RFX_Long(pFX, _T("[Certificato]"), m_Certificato);
	RFX_Long(pFX, _T("[Servizio1]"), m_Servizio1);
	RFX_Long(pFX, _T("[Servizio2]"), m_Servizio2);
	RFX_Long(pFX, _T("[Servizio3]"), m_Servizio3);
	RFX_Long(pFX, _T("[Servizio4]"), m_Servizio4);
	RFX_Long(pFX, _T("[Servizio5]"), m_Servizio5);
	RFX_Long(pFX, _T("[Servizio6]"), m_Servizio6);
	RFX_Text(pFX, _T("[Materiale]"), m_Materiale);
	RFX_Long(pFX, _T("[ServAggiungibile]"), m_ServAggiungibile);
	RFX_Long(pFX, _T("[ServAggiunto]"), m_ServAggiunto);
	RFX_Text(pFX, _T("[Sigla]"), m_Sigla);
	RFX_Text(pFX, _T("[Sigla2]"), m_Sigla2);
	RFX_Text(pFX, _T("[StrutturaPrelievo]"), m_StrutturaPrelievo);
	RFX_Double(pFX, _T("[Dimensione1]"), m_Dimensione1);
	RFX_Double(pFX, _T("[Dimensione2]"), m_Dimensione2);
	RFX_Double(pFX, _T("[Dimensione3]"), m_Dimensione3);
	RFX_Text(pFX, _T("[Osservazioni]"),			m_Osservazioni);
	RFX_Text(pFX, _T("[Sperimentatore]"),		m_Sperimentatore);
	RFX_Text(pFX, _T("[Macchina]"),					m_Macchina);
	RFX_Long(pFX, _T("[Marchio]"),	m_Marchio);
	RFX_Double(pFX, _T("[Snervamento]"), m_Snervamento);
	RFX_Int(pFX, _T("[TipoProva]"), m_TipoProva);
	RFX_Text(pFX, _T("[DataND]"), m_strDataND);
	RFX_Text(pFX, _T("[IDMateriale]"), m_IDMateriale);
	RFX_Byte(pFX, _T("[Checked]"), m_Checked);
  RFX_Long(pFX, _T("[Ordinamento]"),	m_Ordinamento);
	RFX_Text(pFX, _T("[SiglaFornitore]"), m_SiglaFornitore);
	RFX_Text(pFX, _T("[VerbalePrelievo]"), m_VerbalePrelievo);
	//}}AFX_FIELD_MAP
}
Esempio n. 12
0
void CConcepto::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// Las macros como RFX_Text() y RFX_Int() dependen del
// tipo de variable miembro, no del tipo de campo de base de datos.
// ODBC intentará convertir automáticamente el valor de columna en el tipo solicitado
	RFX_Text(pFX, _T("[CONCEPTO]"), m_CONCEPTO);
	RFX_Text(pFX, _T("[DCONCEPTO]"), m_DCONCEPTO);
	RFX_Double(pFX, _T("[CONTA]"), m_CONTA);
	RFX_Text(pFX, _T("[EJERCICIO]"), m_EJERCICIO);

}
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
}
void COrderDetailsSet::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("[OrderID]"), m_OrderID);
	RFX_Long(pFX, _T("[ProductID]"), m_ProductID);
	RFX_Double(pFX, _T("[UnitPrice]"), m_UnitPrice);
	RFX_Int(pFX, _T("[Quantity]"), m_Quantity);
	RFX_Single(pFX, _T("[Discount]"), m_Discount);

}
Esempio n. 15
0
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
}
Esempio n. 16
0
void Cadminnzjbxxb::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Text(pFX, _T("[nzbh]"), m_nzbh);
	RFX_Long(pFX, _T("[zb]"), m_zb);
	RFX_Text(pFX, _T("[jbqbh]"), m_jbqbh);
	RFX_Text(pFX, _T("[mnbh]"), m_mnbh);
	RFX_Text(pFX, _T("[fnbh]"), m_fnbh);
	RFX_Double(pFX, _T("[cszl]"), m_cszl);
	RFX_Double(pFX, _T("[rczl]"), m_rczl);
	RFX_Text(pFX, _T("[pz]"), m_pz);
	RFX_Text(pFX, _T("[tzms]"), m_tzms);
	RFX_LongBinary(pFX, _T("[pic1]"), m_pic1);
	RFX_LongBinary(pFX, _T("[pic2]"), m_pic2);
	RFX_LongBinary(pFX, _T("[pic3]"), m_pic3);
	RFX_LongBinary(pFX, _T("[pic4]"), m_pic4);
	RFX_LongBinary(pFX, _T("[pic5]"), m_pic5);
	RFX_Text(pFX, _T("[bz]"), m_bz);

}
void CCharacterDataSet::DoFieldExchange(CFieldExchange* pFX)
{
    //{{AFX_FIELD_MAP(CCharacterDataSet)
    pFX->SetFieldType(CFieldExchange::outputColumn);
    RFX_Byte(pFX, _T("[Num]"), m_Num);
    RFX_Text(pFX, _T("[Class]"), m_Class);
    RFX_Double(pFX, _T("[HP]"), m_HP);
    RFX_Double(pFX, _T("[MP]"), m_MP);
    RFX_Double(pFX, _T("[SP]"), m_SP);
    RFX_Double(pFX, _T("[Hit]"), m_Hit);
    RFX_Double(pFX, _T("[AC1]"), m_AC1);
    RFX_Double(pFX, _T("[AC2]"), m_AC2);
    RFX_Double(pFX, _T("[AGI1]"), m_AGI1);
    RFX_Double(pFX, _T("[AGI2]"), m_AGI2);
    RFX_Byte(pFX, _T("[RMP]"), m_RMP);
    //}}AFX_FIELD_MAP
}
void CRegisterSet::DoFieldExchange(CFieldExchange* pFX)
{
	pFX->SetFieldType(CFieldExchange::outputColumn);
// RFX_Text() 和 RFX_Int() 这类宏依赖的是
// 成员变量的类型,而不是数据库字段的类型。
// ODBC 尝试自动将列值转换为所请求的类型
	RFX_Long(pFX, _T("[sign_id]"), m_sign_id);
	RFX_Date(pFX, _T("[start_time]"), m_start_time);
	RFX_Date(pFX, _T("[end_time]"), m_end_time);
	RFX_Double(pFX, _T("[working_hours]"), m_working_hours);
	RFX_Long(pFX, _T("[week_number]"), m_week_number);
	RFX_Text(pFX, _T("[signer]"), m_signer);
	RFX_Text(pFX, _T("[extra_infor]"), m_extra_infor);

}
Esempio n. 19
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
}
void CCoefficientSet::DoFieldExchange(CFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CCoefficientSet)
	pFX->SetFieldType(CFieldExchange::outputColumn);
	RFX_Int(pFX, _T("[sClass]"), m_sClass);
	RFX_Double(pFX, _T("[ShortSword]"), m_ShortSword);
	RFX_Double(pFX, _T("[Sword]"), m_Sword);
	RFX_Double(pFX, _T("[Axe]"), m_Axe);
	RFX_Double(pFX, _T("[Club]"), m_Club);
	RFX_Double(pFX, _T("[Spear]"), m_Spear);
	RFX_Double(pFX, _T("[Pole]"), m_Pole);
	RFX_Double(pFX, _T("[Staff]"), m_Staff);
	RFX_Double(pFX, _T("[Bow]"), m_Bow);
	RFX_Double(pFX, _T("[Hp]"), m_Hp);
	RFX_Double(pFX, _T("[Mp]"), m_Mp);
	RFX_Double(pFX, _T("[Sp]"), m_Sp);
	RFX_Double(pFX, _T("[Ac]"), m_Ac);
	RFX_Double(pFX, _T("[Hitrate]"), m_Hitrate);
	RFX_Double(pFX, _T("[Evasionrate]"), m_Evasionrate);
	//}}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
}