Write to the database using MFC dialog based and VC++ 2008

i am trying to write to the database(.mdb). i can read the database but i could not do the writing to it following is the code that i am using for writing
while ( ! m_pSet->IsEOF() )
m_pSet->m_Category = "mahum";
//m_pSet->lk = 1001;
//m_pSet->Ark = 20;
it gives the following error at first line
"Unhandled exception at 0x00e8356d in wDB.exe: 0xC0000005: Access violation reading location 0x00000000."
can anybody help me out ?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!