Hmm, Worked for me with the sample data posted, so not sure what happened. When you retyped it thx to google not liking my paste, does case 2 still say put tline & cr before tTmp? (before, not after)
Not sure where I went wrong. The other method using sort is far better anyway since it will work even if the order is (slightly) shuffled about in the original. > I'm sorry to say that seems to put things in the wrong order. > > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode