At 05:19 AM 8/31/00, Paul Steven wrote:
>["Name":"Tiffany","Email":"[EMAIL PROTECTED]","Country":"England"]]
>
>Which could have thousands of individual records.
>
>I have a button that when pressed will display a list of all the names in
>alphabetical order. Now the only way I can think of doing this is as
>follows:

That's pretty much the way. I would create a separate list and perform the 
sort command on it. Wait a minute...

... Ok, I thought this sounded familiar. I have a VERY simple example 
called SortNames at
http://www.mboyd.com/director

The on sortEm handler stores the names in a separate unsorted list so that 
we can maintain the original positions should we need to get other data 
from the main list. A temporary list is sorted then extracted via Lingo 
much like your example and placed in the field.

It may not be exactly what you need, but could spark some ideas for you.

--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to