Re: Sorting error
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13486
interpreted = N
texte = >>The next test would be to sort the years by themselves, months by>>themselves, then days by themselves: do they sort as expected. Next>>sort just by year and month: does that work as expected. Maybe in>>doing this something will become clearer.>>In all cases, the first sort works fine (sort=1) but the it breaks>down at the second sort (sort=2).>>However, if I first sort by YR and then by TITLE, both sorts work fine.>The sort also works if I remove the type=num args, but it'll break>down when it reaches 2-digit numbers.>So the trouble seems come from sorting more than one field that has type=num.Interesting concept ... but why do you have to have your dates splitup into three different parts anyways?I've been wondering about this since you posted your first message,but I didn't ask before. May be there's a way around whatever 'other'problems you're dealing with that would allow you to keep the datesintact instead of splitting them up into several different fields.Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
>>The next test would be to sort the years by themselves, months by>>themselves, then days by themselves: do they sort as expected. Next>>sort just by year and month: does that work as expected. Maybe in>>doing this something will become clearer.>>In all cases, the first sort works fine (sort=1) but the it breaks>down at the second sort (sort=2).>>However, if I first sort by YR and then by TITLE, both sorts work fine.>The sort also works if I remove the type=num args, but it'll break>down when it reaches 2-digit numbers.>So the trouble seems come from sorting more than one field that has type=num.Interesting concept ... but why do you have to have your dates splitup into three different parts anyways?I've been wondering about this since you posted your first message,but I didn't ask before. May be there's a way around whatever 'other'problems you're dealing with that would allow you to keep the datesintact instead of splitting them up into several different fields.Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WC2b15 File Corruption (1997)
[WebDNA] Post-Parse Script to remove extra returns. (2009)
Help! WebCat2 bug (1997)
test (2004)
WebTen and WebCat (1997)
Hosting Services (1999)
Funny Chars (1999)
rotating thumbnails (1997)
Calculating multiple shipping... (1997)
f2 download problems (1997)
OT: Please set your computer's clock (1997)
refreshing IE with posted .tmpl (1997)
WebMerchant 1.6 and https (1997)
Separate SSL Server (1997)
Nested tags count question (1997)
New command suggestion (was Modifying databases manually) (1997)
Latin Characters (1998)
[WebDNA] Grep (2009)
Need relative path explanation (1997)
b18 problem on NT 4.0 (1997)