ODBC HELP WANTED!
Database
1
Posts
1
Posters
0
Views
1
Watching
-
hello @all, i have an access data base and a dialogbased program. to connect the program with the data base i used odbc. then i add a new class in my project (CRecordset, name: CDatabase) and choose the table i want. finally i want to register now something into my data base. I make an object of the data base:
CDatabase db; db.Open(); db.Edit(); db.m_x=1; //(x is the column of my table) db.Update(); db.Close();
i get the error in my program, that there is no current data record. what´s wrong???? Thank you in advance.