Article ID: 166756
Article Last Modified on 11/21/2006
CMySet rs;
try
{
rs.SetParamNull( 0, TRUE );
rs.Open( CRecordset::snapshot, "{Call Query1(?)}" );
rs.m_paramDate = CTime( 1996, 10, 13, 0, 0, 0 );
rs.SetParamNull( 0, FALSE );
rs.Requery();
}
catch( CDBException* e )
{
AfxMessageBox( e->m_strError );
e->Delete();
}
rs.Close();
#include "stdafx.h"
at the top of your new .cpp file, and include the .cpp file in your
project.
if (pFX->m_prs->IsParamStatusNull(nField - 1))
{
pts = NULL;
*plLength = SQL_NULL_DATA;
}
else
if( CFieldExchange::BindParam != pFX->m_nOperation ) {
RFX_Date(pFX, szName, value);
return;
}Additional query words: kbVC500bug kbVC600bug kbmfc kbdatabase kbodbc
Keywords: kbbug kbfix KB166756