November 12th, 2002, 06:51 PM
CRecordset and CDatabase problem
I have been trying to get a test db program to work.
Here is the proposed function for adding a record. This is not working at all... guidance is apprectiated.
// TODO: Add your control notification handler code here
MessageBox("Database not open!");
MessageBox("Can't append to database");
m_pSet->m_Lastname = Lastname;
m_pSet->m_Firstname = Firstname;
m_pSet->m_email = email;
m_pSet->m_Notes = Notes;
m_pSet->m_Phone = Phone;
MessageBox("Database NOT UPDATED!");