Subject | Re: [ib-support] Case insensitive order by? |
---|---|
Author | Doug Chamberlin |
Post date | 2002-01-22T17:13:53Z |
At 01/22/2002 12:05 PM (Tuesday), Jason Frey wrote:
to a sorted TStringList which has a case-insensitive Compare method, assign
the string list to the items in the listbox. Use the string list's Objects
property to associate each string with a record from the original query so
you can discover which record was selected.
>I only need case insensitivity for oneDo it on the client: Query the records from the database, copy the values
>operation (A list box containing a list of records to be selected, ordered
>by last name.. Technically this is user entry error, however how many users
>are going to do everything the right way every time :)).
>Any ideas?
to a sorted TStringList which has a case-insensitive Compare method, assign
the string list to the items in the listbox. Use the string list's Objects
property to associate each string with a record from the original query so
you can discover which record was selected.