handling databases in MFC
-
AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks
-
AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks
Hi derive class from Crecordset using class wizard. (Ctrl+W) In process it will ask you database path and table name. Give the table name and then it will show all the attributes from table as its members list. assign name to member Implement or use Database open and close calls Better to start is some of the tutorials from either codeguru or codeproject Hope this will help Remember Ms-Access - database limit -- 2GB Best of luck Leave your mark wherever you go
-
AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks
You'll probably get more replies, if you asked specific technical questions. Your message is very vague. However there are a few methods for accessing MS Access from MFC. Personally I prefer using ADO rather than the MFC classes Database/Recordset classes. Plenty of examples here[^] Michael CP Blog [^]
-
AOA do any1 tell me how to deal with databases by using MFC as front end & microsoft access as back end......i.e how we can retrieve documents from database if document path is given in field of table.........kindly answer this........i have to do this urgent......plz plz plz... thanks
Get a copy of Mike Blazcaks excellent book on MFC. It has some very nice samples. BTW the VC IDE can create a skeleton app for you quite easily.