View Issue Details

IDProjectCategoryView StatusLast Update
0031340FPCDocumentationpublic2017-02-11 16:26
ReporterChristian HadiAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.1Product Buildtrunk 
Target Version3.2.0Fixed in Version3.1.1 
Summary0031340: TDataSet.IsUniDirectional description is incorrect: "TDataset.Next" vs "TDataset.First"
DescriptionCurrent description:
=============================
Description: IsUniDirectional is True if the dataset is unidirectional. By default it is False, i.e. scrolling backwards is allowed. If the dataset is unidirectional, then any attempt to scroll backwards (using one of TDataset.Prior (308) or TDataset.Next (306)),


I guess it should be like this:
===================================
Description: IsUniDirectional is True if the dataset is unidirectional. By default it is False, i.e. scrolling backwards is allowed. If the dataset is unidirectional, then any attempt to scroll backwards (using one of TDataset.Prior (308) or TDataset.First (???)),


Additional InformationChanging "TDataset.Next" to "TDataset.First"
TagsNo tags attached.
Fixed in Revision1393
FPCOldBugId
FPCTarget
Attached Files

Activities

LacaK

2017-02-02 21:46

developer   ~0097936

IMO it should be: "(using one of TDataset.Prior or TDataset.Last)"

First and Next are for sure supported by unidirectional datasets.

See also:
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Navigating_Datasets
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_the_First_and_Last_Methods

Michael Van Canneyt

2017-02-11 16:26

administrator   ~0098107

Adapted the documentation.
It is indeed Last, First is supported (but will close and open the dataset)

Issue History

Date Modified Username Field Change
2017-02-02 11:45 Christian Hadi New Issue
2017-02-02 11:45 Christian Hadi Status new => assigned
2017-02-02 11:45 Christian Hadi Assigned To => Michael Van Canneyt
2017-02-02 21:46 LacaK Note Added: 0097936
2017-02-11 16:26 Michael Van Canneyt Fixed in Revision => 1393
2017-02-11 16:26 Michael Van Canneyt Note Added: 0098107
2017-02-11 16:26 Michael Van Canneyt Status assigned => resolved
2017-02-11 16:26 Michael Van Canneyt Fixed in Version => 3.1.1
2017-02-11 16:26 Michael Van Canneyt Resolution open => fixed
2017-02-11 16:26 Michael Van Canneyt Target Version => 3.2.0