HOME
Login
Change Info
Logout


TUTORIALS

C, C++
Win32
Java
Visual Basic
MFC
DCOM
Networking
C#
Perl
HTML
XML
ASP
PHP
Javascript
Other

DOWNLOADS
ITCLib
SourceVizor meets the notification, reporting, and admin needs of teams using Microsoft Visual SourceSafe.
Free 30-day trial!


Building Database Applications with the CRecordset Class
Series Overview

by Marshall Brain

Questions, comments, suggestions - We want to hear from you!Comment on this article Get the Acrobat PDF File For This Article Get Adobe Acrobat Reader
Most downloads under 500KB


Many people seem to shy away from using "real databases" in their applications because they perceive them to be too complicated or confusing to use on a daily basis. It turns out, however, that the CRecordset class makes it extremely easy to interface to a variety of different databases using ODBC. Therefore, you can bring the full power of real databases to bear on even the simplest applications. Often this will improve both the robustness and capacity of the programs you create with little or no effort on your part.

The purpose of this series is to outline the main features of the "Interface Technologies method" for using the CRecordset class in database applications, both in prototyping/development settings and production environments. These techniques have been condensed primarily from internal ITI database applications and therefore represent a set of ideas that have been honed through "trial by fire." Although they may not be perfect from the beauty standpoint, these techniques have the advantage of being reliable and relatively straightforward.

Before reading this series, you need to have a basic understanding of MFC and Visual C++.

This series starts at the beginning, showing you how to create a simple database in Access. You can use any ODBC database (SQL, Excel, DBase, etc.) to create your prototype databases: We use Access because Access database prototypes port very easily to real SQL databases like Sybase or the Microsoft SQL server. Then the series moves on to discuss specific techniques for hooking the database into your dialogs and other application screens. Topics in this series include:

If you have additions, comments or suggestions for improving this series, please pass them along. We are always glad to learn new things.



Previous Page
Return to beginning of article

Next Page


Featured Article

An Introduction to C#
By Joey Mingrone

Register Today!


100% FREE

Members enjoy these benefits:
Access to ITI Downloads
Access to more articles and tutorials
Optional weekly newsletter
And more...

Click here to register
Or
Click here to log in



© 2008 Interface Technologies, Inc. All Rights Reserved
Questions or Comments? devcentral AT iticentral DOT com
PRIVACY POLICY