Click to See Complete Forum and Search --> : Problem with AddNew


Sydney
May 22nd, 1999, 04:47 PM
Hi

Here is my code

if(m_db->CanUpdate() == TRUE)
{
try
{
m_rs.AddNew();
}
catch (CDaoException* e)
{
AfxMessageBox(e->m_pErrorInfo->m_strDescription);
e->Delete();
}




The exception tells me that my database is read-only.
What's the problem?

Thanks
Sydney from France