TAstaClientDataSet.OrderBy
Applies to
TAstaClientDataSet
Declaration
property
OrderBy: string;
Description
Use the OrderBy property to append an Order By clause onto your SQL statement. By keeping a separate
order by clause you can easily change your SQL order by statement by changing this property, and then
closing and opening the TAstaClientDataSet. By default, the OrderBy property is tagged with ASC for sort
ascending, but if you have the Ascending
property set to False, a DESC for descending will be applied.