Are you working with FireDAC in Delphi or windows ide? FireDAC is a unique set of Universal Data Access Components for developing multi-device database applications for Delphi. It provides methods to sort, filter, or locate a specific record in the dataset. To sort the dataset by field values, the application uses the IndexFieldNames property. It supports multiple fields, case-insensitive, and descending modes.

ただし、逆の順序で並べ替える場合は、AlisterChristieが提供するこのLearnDelphiビデオチュートリアルの視聴を検討してください。このビデオでは、Alisterが、FireDAC TDataSetのIndexFieldNamesプロパティを使用して、TDBGridタイトルをクリックしたときに並べ替えを有効にする方法を示します。上記の彼のステップバイステップのデモンストレーションを見て、このプロパティをどのように利用できるかを確認してください。


RAD Studio、Delphi、C++Builderを用いれば、開発時間を短縮し、より早く市場に投入可能!
Design. Code. Compile. Deploy.
トライアル版をダウンロードいますぐアップグレード!

Delphi Community Edition(無料)C++Builder Community Edition(無料)