i created a single document with database view with file support
when i go to add records into the table
m_pSet->AddNew()
it gives me statement "recordset read only"
so i use the fucntion to check if the permission is set to read only with
if(!m_pSet->CanUpdate())
and it shows that it is true..
how do i set my table permission so i can add and edit records
i tried using
pSet->Open(AFX_DB_USE_DEFAULT_TYPE,NULL,CRecordset::none);
to set the recordset to non so i can edit/delete and add
but my program crash after that
help pls....
when i go to add records into the table
m_pSet->AddNew()
it gives me statement "recordset read only"
so i use the fucntion to check if the permission is set to read only with
if(!m_pSet->CanUpdate())
and it shows that it is true..
how do i set my table permission so i can add and edit records
i tried using
pSet->Open(AFX_DB_USE_DEFAULT_TYPE,NULL,CRecordset::none);
to set the recordset to non so i can edit/delete and add
but my program crash after that
help pls....