Help: sorting in found set.

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39563
interpreted = N
texte = Mac os9,webstar,webcat 4.01I am looking for a way to sort found items. I have a search result page that uses an imbedded search:[search db=serials.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[starta t]&[sortfield]sort=1&[sortfield]sdir=[sortdirection]&max=[show]]which is fairly simple. The only deviation is that the sort field and sdir=as can be changed.my problem comes when I have 6 found items and I used max=5. my first page shows 5 items 1,2,3,4,5 and I get a hyperlink to 6.above the column of results I have 2 hyperlinkswhich searches sorts decending. Shows 1,2,3,4,5which searches sorts ascending. Shows 6,5,4,3,2 not exactly what i wanted.I would like to sdir into the result of the original found items which would give me 5,4,3,2,1. Is there a way to position=start, position=end in this type of search so i can re-sort the first 5 found. Any help would be appreciated.------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Help: sorting in found set. (Marc M. 2001)
  2. Re: Help: sorting in found set. (Brian Fries 2001)
  3. Re: Help: sorting in found set. (Brian Fries 2001)
  4. Help: sorting in found set. (Marc M. 2001)
Mac os9,webstar,webcat 4.01I am looking for a way to sort found items. I have a search result page that uses an imbedded search:[search db=serials.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=
[url][value][/url]&[/formvariables]startat=[starta t]&[sortfield]sort=1&[sortfield]sdir=[sortdirection]&max=[show]]which is fairly simple. The only deviation is that the sort field and sdir=as can be changed.my problem comes when I have 6 found items and I used max=5. my first page shows 5 items 1,2,3,4,5 and I get a hyperlink to 6.above the column of results I have 2 hyperlinks[url][value][/url]&[/formvariables]startat=[startat]&s ortfield=serial_number&sortdirection=de&max=[show]>which searches sorts decending. Shows 1,2,3,4,5[url][value][/url]&[/formvariables]startat=[startat]&s ortfield=serial_number&sortdirection=as&max=[show]>which searches sorts ascending. Shows 6,5,4,3,2 not exactly what i wanted.I would like to sdir into the result of the original found items which would give me 5,4,3,2,1. Is there a way to position=start, position=end in this type of search so i can re-sort the first 5 found. Any help would be appreciated.------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Marc M.

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:

problem with dates, NT version (1997) [Sum] function? (1997) Web Catalog 2 demo (1997) Attention SMSI - DOCS Error (2004) WebCat2b15MacPlugin - showing [math] (1997) Problem (1997) Sample Tearoom Search Error (1998) File Uploads... (1997) Spreadsheet App pref. [OT] (2001) Multiple catalog databases and showcart (1997) [Listfiles] vs Netfinder (1997) EIMS Problems (1997) strange IE 4.0 (1998) 2.0Beta Command Ref (can't find this instruction) (1997) Where is Orders.db appended? (2000) File info on files with funky characters in their names (2003) Another IfThenElse question.. (2003) form posts expiring instantly... why? (2000) Migrating to NT (1997) Emailer port change (1997)