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.

458 Day 12<br />

Table 12.<strong>14</strong>. cont<strong>in</strong>ued<br />

Property Description<br />

Filter Specifies an expression by which to filter records.<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 />

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

result sets.<br />

Overload Specifies the overload procedure to use on the Oracle platform.<br />

ParamB<strong>in</strong>dMode Determ<strong>in</strong>es how Params will be bound to proc parameters.<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 result set.<br />

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

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

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

StoredProcName Specifies the name of the procedure to execute.<br />

UpdateObject Specifies the UpdateSQL component to use <strong>in</strong> conjunction with<br />

cached updates.<br />

Table 12.15. TStoredProc key methods.<br />

Method Function<br />

Append Appends a blank row to the TDataset.<br />

AppendRecord Appends a row to the TDataset us<strong>in</strong>g specified values.<br />

ApplyUpdates Saves cached updates to the database.<br />

Cancel Discards pend<strong>in</strong>g modifications to the current row.<br />

CancelUpdates Discards cached updates that are pend<strong>in</strong>g.<br />

Close Closes the TDataset.<br />

Delete Deletes the current record.<br />

Edit Puts the TDataset <strong>in</strong> edit mode.<br />

ExecProc Executes the stored procedure.

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

Saved successfully!

Ooh no, something went wrong!