Phil,

Well, I have tried that and I can see the little Up and Down arrows on the Header bar but it will not sort the list out. So I am not sure what's up. And this is for the Patient Names header.

Any thoughts as to why its not working? I am using the DB Example in RB2005 so does this make a difference?

Jonathon

----- Original Message ----- From: "Phil M" <[EMAIL PROTECTED]>
To: "Getting Started" <[email protected]>
Sent: Monday, January 09, 2006 7:05 PM
Subject: Re: ListBox sorting?


On Jan 9, 2006, at 4:02 PM, Jonathon Bevar wrote:

Ok, my next question is how do I make a Header be able to sort?

I have the following columns with the Header names of:

Patient #    Patient Name    Revision No.    Revision Date

Ok, how can I sort the columns for the Pateint Name and the Revision No. ? I want it so the Names are in Accending order ( A to Z) and the Revision No are in Deccending order (Largest No to the Smallest No). Of course this depends on which header is clicked on.

As long as the Listbox header is visible, it will automatically sort when a user clicks on the header.

The only issue is that numbers will sort alphabetically instead of numerically. If for any reason you want different behavior than the default alphabetic sort, then you will need to implement the CompareRows event... and there is an example of this in the Language Reference.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/224 - Release Date: 1/9/2006





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/224 - Release Date: 1/9/2006

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to