Icon View Incident Report

Serious Serious
Reported By: Doug Lyman
Reported On: 7/8/2022
For: Version 3.02 Build 5
# 4892 Using Multiple Sort Columns When Sorting DataSet Results in Incorrect Sort

The following code sorts properly (Last Name, First Name) in EWB2:

with PatientList do
begin
Columns['LASTNAME']SortDirection := sdAscending;
Columns['FIRSTNAME'].SortDirection := sdAscending;
SortCaseInsensitive := True;
Sort;
end;

In EWB3 the above code sorts the dataset by incorrectly (First Name, Last Name).


Comments Comments
The sort order of the columns was being determined by their position in the dataset column definitions instead of the order in which the SortDirection assignments were being made.


Resolution Resolution
Fixed Problem on 7/19/2022 in version 3.02 build 6


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image