RAD Studio VCL Reference
TDBXReader Class

TDBXReader provides a unidirectional reader for a collection of database rows

TDBXReader = class(TDBXValueList);
class TDBXReader : public TDBXValueList;

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!