Board index » delphi » Newbie for sorting data

Newbie for sorting data

I have created secondary indexes. But how to sort the data in my application
?
thank you.
 

Re:Newbie for sorting data


Quote
> I have created secondary indexes. But how to sort the data in my
application
> ?

Set the IndexName of Table to appropriate one.

Or if You use TQuery-s, use order by clause.

Gert

Re:Newbie for sorting data


To view the data in order by one of the secondary indices set the IndexName
property of your TTable to the name of the index.

--
Bill Todd (TeamB)
(Questions received via email cannot be answered.)

Other Threads