On 16 Jan 2006, at 04:07, TJ Hanson wrote:
When sorting a ListBox by clicking on a column header, will the
ListBox not sort if it is bound to one or more controls, like a
DatabaseQuery?
If so, can it be sorted manually via the ListBox Sort method? I
haven't found any documentation on this.
What you've found is correct, a bound listbox can not be sorted by
clicking the headers.
The only way to sort a bound listbox is to change the SQL query to
use an "order by ..." and refresh it.
Regards,
--
Ian M. Jones
___________________________________
http://www.imijsoft.com
http://www.ianmjones.net (blog)
_______________________________________________
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>