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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

444 Day 12<br />

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

Method Function<br />

FetchAll Reads . all pend<strong>in</strong>g rows from the database.<br />

FieldByName Returns a TField us<strong>in</strong>g its database field name.<br />

F<strong>in</strong>dFirst F<strong>in</strong>ds a record us<strong>in</strong>g the filter conditions you specify.<br />

F<strong>in</strong>dNext F<strong>in</strong>ds the next record that meets the filter criteria.<br />

F<strong>in</strong>dKey Performs an exact search on the TDataset.<br />

F<strong>in</strong>dNearest Performs an <strong>in</strong>exact search on the TDataset.<br />

GetFieldNames Returns a list of the fields <strong>in</strong> the TDataset.<br />

GetIndexNames Returns a list of the TDataset’s <strong>in</strong>dexes.<br />

GotoKey Performs an exact SetKey-based search on the TDataset.<br />

GotoNearest Performs an <strong>in</strong>exact SetKey-based search on the TDataset.<br />

Insert Inserts a blank row and allows it to be edited.<br />

InsertRecord Inserts a row us<strong>in</strong>g supplied column values.<br />

Locate F<strong>in</strong>ds a record <strong>in</strong> a TDataset.<br />

LockTable Locks a local table.<br />

Lookup F<strong>in</strong>ds a record <strong>in</strong> a TDataset and returns values from it.<br />

MoveBy Moves the TDataset cursor by a given number of rows.<br />

Open Opens the TDataset.<br />

Post Saves pend<strong>in</strong>g modifications to the current row.<br />

RenameTable Renames a local table.<br />

RevertRecord Discards cached updates to the current row.<br />

SetKey Puts the TDataset <strong>in</strong> a key-based search mode.<br />

SetRange Puts the database <strong>in</strong> a range-based search mode.<br />

SetRangeEnd Sets the upper limit of a range.<br />

SetRangeStart Sets the lower limit of a range.<br />

UnlockTable Unlocks a local table.<br />

Table 12.10. TTable key events.<br />

Event Catalyst<br />

AfterCancel Occurs follow<strong>in</strong>g a Cancel.<br />

AfterClose Occurs follow<strong>in</strong>g the close of the TDataset.

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

Saved successfully!

Ooh no, something went wrong!