Gregory Lypny wrote:
> I've got a list field with tab-separated strings on each line,
> which, in effect, creates the illusion of columns. When the field is
> shown, I'd like users to be able to sort it using any column "title" as
> the sort key (e.g., sort by column 1, column 2, and so on). What's the
> best way to handle this given that the string in each column is not one
> word?
Assuming you make a user property for each of the heading buttons which
corresponds to its column number, you could do this:
put the uColumnNumber of the target into tColNum
set the itemdel to tab
sort by lines of fld "Whatever" by item tColNum of each
--
Richard Gaskin
Fourth World Media Corporation
Multimedia Design and Development for Mac, Windows, UNIX, and the Web
_____________________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.