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.

452 Day 12<br />

Table 12.11. TQuery key properties.<br />

Property Description<br />

Active Toggles whether the TDataset is open.<br />

AutoCalcFields Determ<strong>in</strong>es how calculated fields are calculated.<br />

Bof Reflects whether the TDataset is at its beg<strong>in</strong>n<strong>in</strong>g.<br />

CachedUpdates Toggles whether updates are cached.<br />

Constra<strong>in</strong>ed Controls allowable updates to live result sets.<br />

Database Identifies the TDatabase <strong>in</strong> use by the TDataset.<br />

DatabaseName Names the alias used to connect to the database.<br />

DataSource Specifies a TDataSource from which to retrieve query parameters.<br />

DBHandle Returns the low-level BDE connection handle.<br />

Eof Reflects whether the TDataset is at its end.<br />

FieldCount Returns the number of fields <strong>in</strong> the TDataset.<br />

FieldDefs Lists important <strong>in</strong>formation about fields <strong>in</strong> the TDataset.<br />

Fields (Indexed) returns a specific field from the TDataset.<br />

Filter Specifies an expression to filter records by.<br />

Filtered Toggles whether the filter<strong>in</strong>g specified by Filter or OnFilterRecord<br />

is active.<br />

FilterOptions Controls the behavior of filters.<br />

Handle Returns the low-level BDE cursor handle.<br />

Modified Reflects whether the current record has been changed <strong>in</strong> a live<br />

result set.<br />

ParamCount Reflects the number of parameters for the SQL query.<br />

Params Specifies the parameters to use with the SQL query.<br />

Prepared Reflects whether the query has been prepared.<br />

RecordCount Returns the number of rows <strong>in</strong> the TDataset.<br />

RequestLive Specifies whether you want the query result to be updatable.<br />

SessionName Specifies the TSession component to use to connect to the database.<br />

SQL Specifies the SQL statements to execute on the server.<br />

State Returns the state of the TDataset (such as dsEdit or dsBrowse).<br />

StmtHandle Returns the low-level BDE handle for the last query result.<br />

UniDirectional Specifies that the cursor moves <strong>in</strong> only one direction.

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

Saved successfully!

Ooh no, something went wrong!