12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

430 Day 12<br />

Table 12.1. cont<strong>in</strong>ued<br />

Term Description<br />

TDataset The <strong>C++</strong>Builder class that provides access to database tables and<br />

table-like query result sets. Because the TTable, TQuery, and<br />

TStoredProc components <strong>in</strong>directly descend from the TDataset<br />

class, you’ll often see me refer to them collectively as TDatasets.<br />

TTable The <strong>C++</strong>Builder component that provides access to database<br />

tables. You use TTable’s TableName property to reference the<br />

actual table that you want to access <strong>in</strong> your database.<br />

TQuery The <strong>C++</strong>Builder component that allows you to construct,<br />

execute, and process your own SQL queries.<br />

TStoredProc The <strong>C++</strong>Builder component that allows you to run compiled<br />

SQL procedures that reside on a database server (also known as<br />

stored procedures).<br />

Data-aware control A visual (visible at runtime) component that uses the data access<br />

provided by your app’s data access controls to allow the user to<br />

see and modify data <strong>in</strong> a database. Data-aware controls reside<br />

on the Data Controls page <strong>in</strong> <strong>C++</strong>Builder’s Component Palette.<br />

For the most part, you can th<strong>in</strong>k of them as “data smart”<br />

versions of the controls on the Palette’s Standard page. TDBGrid,<br />

TDBNavigator, and TDBEdit are examples of data-aware controls.<br />

TDatasource The <strong>C++</strong>Builder component that facilitates l<strong>in</strong>k<strong>in</strong>g TDatasets<br />

with data-aware controls. Data-aware components reference<br />

TDatasource components that, <strong>in</strong> turn, reference TDataset<br />

controls.<br />

TField The <strong>C++</strong>Builder class that provides access to fields <strong>in</strong> a database<br />

table. <strong>C++</strong>Builder creates TField descendants such as<br />

TStr<strong>in</strong>gField and TIntegerField when you use the Fields<br />

Editor to add field components to a form. TField components<br />

that have been added to a form are owned by the form, not by<br />

their associated Tdataset.<br />

An Overview of the Architecture<br />

<strong>C++</strong>Builder applications communicate with local and remote databases us<strong>in</strong>g the <strong>Borland</strong><br />

Database Eng<strong>in</strong>e. In the case of local formats such as Paradox and dBase tables, the BDE<br />

makes use of its own, built-<strong>in</strong>, local DBMS drivers. In the case of remote formats like Oracle

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!