-
odbc database question
Hi i've used a MS Access database file for an odbc database program, which's created by VC++2005. but now i need to add some additional data columns to the database file. how could i create variables to reflect these new columns in my VC++ project? thanx for any help.
-
Are you using MFC, straight Win API, or something else?
-
-
Its been awhile since I did this, but take a look at your CRecordset derived class. I think all you have to do is add the variables like the existing ones and add a RFX_ statement for each variable in DoFieldExchange. Be sure to also update the m_nFields number in the constructor.
-
thanx a bunch Dave, that worked!