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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to