[fpc-pascal] Suggestion: TDataSetEnumerator

LacaK lacak at zoznam.sk
Fri Mar 6 12:21:25 CET 2015


> You should check here for unidirectional datasets. They do not support 
> .first.
> For unidirectional datasets you can only go from the current point 
> forward.
>
AFAIK we support First. We have also test for it.
Btw Delphi:
  "The only supported navigation methods are the First 
<http://docwiki.embarcadero.com/Libraries/XE7/en/Data.DB.TDataSet.First> 
and Next 
<http://docwiki.embarcadero.com/Libraries/XE7/en/Data.DB.TDataSet.Next> 
methods."
(http://docwiki.embarcadero.com/RADStudio/XE7/en/Using_dbExpress_Datasets)

"*TSQLDataSet* is a unidirectional dataset. Unlike other datasets, 
unidirectional datasets do not buffer multiple records in memory. 
Because of this, you can only navigate using the First and Next methods. "
(http://docwiki.embarcadero.com/Libraries/XE7/en/Data.SqlExpr.TSQLDataSet)

http://docwiki.embarcadero.com/RADStudio/XE7/en/Navigating_Datasets
http://docwiki.embarcadero.com/RADStudio/XE7/en/Using_the_First_and_Last_Methods

-Laco.



More information about the fpc-pascal mailing list