MyTable indexFieldName with DESC or ASC

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mbranco1975
Posts: 2
Joined: Thu 09 Aug 2007 19:31

MyTable indexFieldName with DESC or ASC

Post by mbranco1975 » Thu 29 Nov 2007 23:50

It's possible to have the MyTable component in Asc or Desc order?

In MyQuery it's possible.
In MyTable it's possible?

Thank's in advance

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 30 Nov 2007 10:02

Yes, it is. Just assign a line like the following to the IndexFieldNames property of the TMSTable component:

Code: Select all

EName ASC CIS; EmpNo DESC
For more information see the TMemDataSet.IndexFieldNames description in MyDAC help.

Post Reply