try { int ss=1; cmd.Format("SELECT * from TableRegistration where PersonID='%d'",ss); //m_recordset.Open(dbOpenTable,cmd,dbSeeChanges); m_recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,cmd,dbSeeChanges); } catch(CDaoException* e) { AfxMessageBox(e->m_pErrorInfo->m_strDescription, MB_ICONEXCLAMATION); e->Delete(); }
SELECT * from TableRegistration where PersonID='%d'",ss);
SELECT * from TableRegistration where PersonID=%d",ss);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)