RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXReader Class

TDBXReader provides a unidirectional reader for a collection of database rows

Pascal
TDBXReader = class;
C++
class TDBXReader;

DBXCommon

TDBXReader provides a forward only reader for a collection of database rows. 

TDBXReader is returned by TDBXCommand.ExecuteQuery. Call TDBXReader.Next to access the first and successive rows in the collection. Row values can be accessed using the Value array property. Value is overloaded so it can be indexed either by ordinal position or by column name.

Note: When an application is no longer needs a TDBXReader instance, it should call TDBXReader.Free. This ensures that all resources associated with the TDBXReader are released.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!