DataBand outputs entries in the same order they are saved in the data source. Sort property of DataBand sets the special output order. Collection Editor is used for the property definition. Expression property is used for setting the expression of the sorting (the script must be used as an expression); Order property defines the order of the sorting (ascending or descending).

Example of a list that outputs names and birthdates of the employees according to the sorting condition:

Report Template:

dataBand.DataSource = Employees;

textBoxName.Value = dataBand["EmployeeName"];

textBoxDate.Value = dataBand["BirthDate"];

 Sorting Condition  Report  

Add Feedback