QueryDef - a complete implementation of a dynamic recordset Kentucky

Sourcefiles added (RecordsetPatch.dll)

Local Companies

Global Software
859-264-9215
501 Darby Creek RD
Lexington, KY
Business Technology Solutions
859-977-3829
1450 N Broadway
Lexington, KY
Onsite Solutions Corp
859-255-0545
271 W Short St
Lexington, KY
National Innovative Software Solutions LLC
502-495-0548
2108 Plantside DR
Louisville, KY
Information Systems Solutions Inc
502-245-7003
12730 Townepark Way
Louisville, KY
Epicor Software
502-339-7748
8700 Westport RD
Louisville, KY
Api
859-233-2006
167 W Main St
Lexington, KY
Dynamic Accounting Solutions
859-858-3598
2375 Glass Mill RD
Lexington, KY
Halo Group, Inc.
502-657-6468
9900 Corporate Campus Drive
Louisville, KY
Epicor Software Corporation
502-412-7666
9100 Shelbyville RD
Louisville, KY

provided by: 
Originally published at Internet.com


Overview

This article tries to explain the class library QueryDef intended to be used instead of the classic MFC class CRecordset. CRecordset is a great class with one single exception. You have to generate/write too much code. In a project I was involved there were over 700 recordsets defined. Soon working with CRecordset became a real hassle. I wanted a simpler method to access the data from an ODBC data source.

So the design goals of this library were: 1. Eliminate the need for one recordset-one class tuple. 2. Eliminate the need for bindings and the infamous list of data members henceforth. 3. Eliminate the need to know in advance the database schema. 4. Blur the distinction between a recordset and a stored procedure with output parameters. 5. Ease the access to the recordset column information. 6. Provide automatic conversion of data wherever is needed with easy formatting. 7. Simplifying the test with the SQL null value. 8. Provide a simple notification mechanism to bind visual controls with certain events related to the recordset. 9. Compatibilty with the CRecordset class (aka support for positioned updates and inserts).

The cornerstone of the library is the class CQueryDef. This class is designed to be used directly (w/o derivation) although there is nothing stopping you using it as a base class. Basically this class represents a collection of rows and columns returned from a SQL request. The table can be as small as no rows/no columns or as large as milions of rows with 255 columns. CQueryDef uses an internal representation of the column data making it possible to hold the following data types: * String or text (this includes numeric and decimal SQL types) * Int, long or short * Float and double * Datetime, smalldatetime, timestamps * Binary data ...

Read article at Internet.com site

Featured Local Company

Epicor Software

502-339-7748
8700 Westport RD
Louisville, KY

Regional Articles
- QueryDef - a complete implementation of a dynamic recordset Ashland KY
- QueryDef - a complete implementation of a dynamic recordset Bardstown KY
- QueryDef - a complete implementation of a dynamic recordset Bowling Green KY
- QueryDef - a complete implementation of a dynamic recordset Campbellsville KY
- QueryDef - a complete implementation of a dynamic recordset Corbin KY
- QueryDef - a complete implementation of a dynamic recordset Covington KY
- QueryDef - a complete implementation of a dynamic recordset Crestwood KY
- QueryDef - a complete implementation of a dynamic recordset Cynthiana KY
- QueryDef - a complete implementation of a dynamic recordset Elizabethtown KY
- QueryDef - a complete implementation of a dynamic recordset Erlanger KY
- QueryDef - a complete implementation of a dynamic recordset Florence KY
- QueryDef - a complete implementation of a dynamic recordset Fort Campbell KY
- QueryDef - a complete implementation of a dynamic recordset Fort Thomas KY
- QueryDef - a complete implementation of a dynamic recordset Frankfort KY
- QueryDef - a complete implementation of a dynamic recordset Ft Mitchell KY
- QueryDef - a complete implementation of a dynamic recordset Georgetown KY
- QueryDef - a complete implementation of a dynamic recordset Glasgow KY
- QueryDef - a complete implementation of a dynamic recordset Harrodsburg KY
- QueryDef - a complete implementation of a dynamic recordset Hazard KY
- QueryDef - a complete implementation of a dynamic recordset Henderson KY
- QueryDef - a complete implementation of a dynamic recordset Hopkinsville KY
- QueryDef - a complete implementation of a dynamic recordset Latonia KY
- QueryDef - a complete implementation of a dynamic recordset Leitchfield KY
- QueryDef - a complete implementation of a dynamic recordset Lexington KY
- QueryDef - a complete implementation of a dynamic recordset London KY
- QueryDef - a complete implementation of a dynamic recordset Louisville KY
- QueryDef - a complete implementation of a dynamic recordset Madisonville KY
- QueryDef - a complete implementation of a dynamic recordset Mayfield KY
- QueryDef - a complete implementation of a dynamic recordset Morehead KY
- QueryDef - a complete implementation of a dynamic recordset Mount Sterling KY
- QueryDef - a complete implementation of a dynamic recordset Murray KY
- QueryDef - a complete implementation of a dynamic recordset Newport KY
- QueryDef - a complete implementation of a dynamic recordset Nicholasville KY
- QueryDef - a complete implementation of a dynamic recordset Owensboro KY
- QueryDef - a complete implementation of a dynamic recordset Paducah KY
- QueryDef - a complete implementation of a dynamic recordset Pikeville KY
- QueryDef - a complete implementation of a dynamic recordset Radcliff KY
- QueryDef - a complete implementation of a dynamic recordset Richmond KY
- QueryDef - a complete implementation of a dynamic recordset Scottsville KY
- QueryDef - a complete implementation of a dynamic recordset Shepherdsville KY
- QueryDef - a complete implementation of a dynamic recordset Somerset KY
- QueryDef - a complete implementation of a dynamic recordset Versailles KY
- QueryDef - a complete implementation of a dynamic recordset Winchester KY

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML