OLE DB templated samples
-
Hi all. As I'm haveing problems with OLE DB database access, and I've tried everything that came to my mind to solve the problems, I would appreciate if someone gives me a sample of a working application (or a link where I can find it) so I can see what's I'm doing wrong. I have a .mdb that I really want to update, but I can't!! I can read it, i can insert a new record, but i can't update the record. I use ATL 7.1 without the attributed code, just plain wizard generated code plus additions. Thanks in advance :wtf: PS: I forgot to say that articles submited to CP didn't help much in discovering what's wrong, neither MSDN helped me. "semper aliquid haeret", Bacon. -- Sebastián.
-
Hi all. As I'm haveing problems with OLE DB database access, and I've tried everything that came to my mind to solve the problems, I would appreciate if someone gives me a sample of a working application (or a link where I can find it) so I can see what's I'm doing wrong. I have a .mdb that I really want to update, but I can't!! I can read it, i can insert a new record, but i can't update the record. I use ATL 7.1 without the attributed code, just plain wizard generated code plus additions. Thanks in advance :wtf: PS: I forgot to say that articles submited to CP didn't help much in discovering what's wrong, neither MSDN helped me. "semper aliquid haeret", Bacon. -- Sebastián.
This book could be of some help: "Database programming with Visual C++ 6" by Lyn Robison, published by Sams.
-
This book could be of some help: "Database programming with Visual C++ 6" by Lyn Robison, published by Sams.
Thanks, but I don't want a book, and seems a bit outdated. I just need some working code to see how it works. "semper aliquid haeret", Bacon. -- Sebastián.
-
Thanks, but I don't want a book, and seems a bit outdated. I just need some working code to see how it works. "semper aliquid haeret", Bacon. -- Sebastián.
I have had success with the Microsoft example OnlineAddressBook from the MSDN library (comes with Visual Studio .NET Enterprise). I believe you can download it off the msdn site as well. It shows record retrieval, update, delete etc...