Page 1 of 1
sorting Descending with IBQuery ?
Posted: Tue 18 Nov 2014 06:16
by abak
Hi,
How can i create an index Descending in IBQuery, for sorting data :
(not in the query sql)
Exemple :this gives Ascending sort:
ibQuery.indexFieldName:='myField';
Thx.
Re: sorting Descending with IBQuery ?
Posted: Tue 18 Nov 2014 14:02
by ViktorV
Please try using the following code to apply descending sorting:
Code: Select all
IBQuery.IndexFieldNames := 'myField DESC';
You can find more details in the IBDAC help:
http://www.devart.com/ibdac/docs/index. ... dnames.htm
Re: sorting Descending with IBQuery ?
Posted: Wed 19 Nov 2014 13:21
by abak
Thank you ViktoV.
So easy !
Re: sorting Descending with IBQuery ?
Posted: Wed 19 Nov 2014 14:04
by ViktorV
Thank you for your interest to our product. Feel free to contact us if you have any further questions.