Thank you for your thoughts, gentlemen.
This is what I wrote before the suggestions reached me:
WRITELIST XL.NEW.LIST ON X.SAVEDLIST
EXECUTE X.SORT.SAVEDLIST
GETLIST X.SAVEDLIST TO 1 THEN
READLIST XL.SORTED.DATES FROM 1 ELSE
XL.SORTED.DATES = ""
END
CLEARSELECT 1
END
SWAP @AM WITH @VM IN XL.SORTED.DATES
DELETELIST X.SAVEDLIST
But I'll change it if it's much less efficient. What do ya think?
-----Original Message-----
From: Shawn Waldie
Sent: Friday, August 20, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: [U2] [UD] Sorting
I have records that contains a mv list of dates, i.e.,
13200:@VM:13312:@VM:13176. I need to store these values in ascending
order, so I: a) convert the VMs to AMs, b) perform a FORMLIST,
SAVE.LIST, SORT.LIST; and c) load the values back into the attribute.
There has to be a more efficient way. Any suggestions?
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/