BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Sorting order in TClientDataSet

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Natalie Brondolo
Guest





PostPosted: Mon Jul 28, 2003 5:43 pm    Post subject: Re: Sorting order in TClientDataSet Reply with quote



"Paul Tremasov" <tremasov (AT) hotmail (DOT) com> wrote

Quote:
How to specify sorting order (ascending or descending) in IndexFieldNames
property of TClientDataSet?

You can't. Use AddIndex and IndexName instead. See the help file for more
details on this.

- Natalie



Back to top
Wayne Niddery [TeamB]
Guest





PostPosted: Tue Jul 29, 2003 1:00 am    Post subject: Re: Sorting order in TClientDataSet Reply with quote



Paul Tremasov wrote:
Quote:

How to specify sorting order (ascending or descending) in
IndexFieldNames property of TClientDataSet?

You must create an index definition in order to add descending properties,
then use the IndexName property to select this index def.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks/delphibooks.html
Those who disdain wealth as a worthy goal for an individual or a
society seem not to realize that wealth is the only thing that can
prevent poverty. - Thomas Sowell



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.