MyDAC

TCustomDADataSet.GetOrderBy Method

Retrieves an ORDER BY clause from a SQL statement.

Class

TCustomDADataSet

Syntax

function GetOrderBy: string;

Return Value
an ORDER BY clause from the SQL statement.

Remarks

Call the GetOrderBy method to retrieve an ORDER BY clause from a SQL statement.

Note: GetOrderBy and SetOrderBy methods serve to process only quite simple queries and don't support, for example, subqueries.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback