How to make local sort with ODAC

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ozzy
Posts: 3
Joined: Fri 28 Jul 2006 14:17

How to make local sort with ODAC

Post by ozzy » Fri 28 Jul 2006 14:18

example please Delphi or BCB

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 31 Jul 2006 11:11

To perform local sorting of data in TOraQuery or TOraTable components assign to IndexFieldNames property the list of field names by which the recordset has to be sorted. For example:

Code: Select all

OraTable.IndexFieldNames := 'JOB;SAL';
See description of IndexFieldNames property in ODAC help for details.

Post Reply