ADO查询Access,请大神帮帮忙,很急该怎么解决

ADO查询Access,请大神帮帮忙,很急
下面是我调用的代码,我不知道氟利昂R113怎么就调不出数据了。。。水的物性参数能调出来





  UpdateData(TRUE);

//*********************************************************数据处理模块*************************************************************************//
if(conn1)
{
if(conn1->State!=adStateOpen)
{
AfxMessageBox("Error:can't open~~!");
}
}

pRecordset1.CreateInstance((_uuidof(Recordset)));
try
{
CString strSQL;
if(m_nStre==2)
{
int a=(m_dbT+0.5);
float b=a;
  strSQL.Format(_T("select * from 水的物性参数 where 温度=%f"),b);
}

else if(m_nStre==1)
{
strSQL.Format(_T("select * from 氟利昂R113的物性参数 where 温度=%f"),m_dbT);
}
pRecordset1->Open((_bstr_t)strSQL,conn1.GetInterfacePtr(),adOpenDynamic,adLockOptimistic,adCmdText);
}
  catch(_com_error&error)
{
CString erroMsg;
erroMsg.Format("error:%s",(LPTSTR)error.Description());
AfxMessageBox(erroMsg);
}
_variant_t vt1;
_variant_t vt2;
  _variant_t vt3;
vt1=pRecordset1->GetCollect("密度");
vt2=pRecordset1->GetCollect("比热容");
vt3=pRecordset1->GetCollect("动力黏度");
if(vt1.vt==VT_NULL)
{
//AfxMessageBox((LPCSTR)_bstr_t(vt));
AfxMessageBox("Error:NULL~~~!");
}
if(vt2.vt==VT_NULL)
{
//AfxMessageBox((LPCSTR)_bstr_t(vt));
AfxMessageBox("Error:NULL~~~!");
}
if(vt3.vt==VT_NULL)
{
//AfxMessageBox((LPCSTR)_bstr_t(vt));
AfxMessageBox("Error:NULL~~~!");
}

float x = vt1.dblVal;
float y = vt2.dblVal;
  float z = vt3.dblVal;
m_dbDens=x;
m_dbCp=y;
m_dbDynV=z;

------解决方案--------------------
因为你查询的条件是等于,可能是没有满足条件的,你改成大于等于试试.1.0和1.001是不等的
------解决方案--------------------
float值一般不会相等。或者你用其他类型值。
------解决方案--------------------
这有例子
及供参考
http://blog.csdn.net/xianglitian/article/details/5617173