[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Using [sort] on fields with spaces
****** message to minivend-users from Mike Lerley <mike@bfent.com> ******
Scenario: Let's say I have the following arbitrary database, named
"countries":
country,code
U.S.A.,1
Canada,2
United Kingdom,3
French New Guinea,4
Code 1:
[tag each countries]
[loop-code]
[/tag]
Output 1:
United Kingdom
U.S.A.
Canada
French New Guinea
(random order due to hashing)
Code 2:
[tag each countries]
[sort countries:country]
[loop-code]
[/tag]
Output 2:
Canada
French
Guinea
Kingdom
New
United
U.S.A.
erm... is there something I'm missing? Highly frustrating. Thanks for
any insight...
-mike
--
Mike Lerley, Technical Systems Administrator
Goold Health Systems
24 Stone Street
Augusta, ME 04330
Email mike@bfent.com
Phone (207) 622-3298
Fax (207) 623-5125
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/CM d- s:+ a-- C++++ UL++++U+CA+ P++++$ L++++
E--- W+++ N !o K- w--- !O M-- V PS PE++ Y PGP- t+ 5+
X+++ R- tv+ b+ DI++ D++ G e++ h--- r+++ y+++
------END GEEK CODE BLOCK------
http://www.ebb.org/ungeek/
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list