Database programming within Visual C++ |
This is a collection of
programs which integrate Visual C++ with a desktop
database (in particular Microsoft Access). An overview of
this website can be found here. All of the tasks on the original Visual C++ website should be completed and understood
before starting on this website. A previous basic 'working
knowledge' of Microsoft Access is also assumed. Microsoft Visual C++ Version 6.0 and Microsoft Access 97 are both required for the tasks presented here. The
correct database components of Visual C++ must be
installed. Instructions on this setup procedure
may be found on pages 31-34 from the book "Database
programming with Visual C++ 6 in 21 days" - Lyn
Robison |
Task |
Instructions |
Step by step |
Download |
1. Creating a simple database | Start | worked example | database |
2. C++ / Access interface | Interface | worked example | souce code |
3. Adding names | Add | worked example | souce code |
4. Updating names | Update | worked example | souce code |
5. Deleting names | Delete | worked example | souce code |
6. Merging the database | Merge | worked example | souce code |
Tips on debugging programs may be found here. An overview of the basic SQL commands may be found here. A recommended Microsoft Access tutorial may be found here. The recommended text book is :
|
Exercises
adapted from those in the above text book To search this site click here |
This website was created in November 1999 |