Items XX to XX shown

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10972
interpreted = N
texte = In case anybody has any use for this, I thought I'd post the syntax for showing which items are being displayed in sequence when a search is conducted. Grant got me started on this and I've embellished it a bit. This covers all instances, as far as I can see, when [max] is greater than *or* less than [numFound]. This would display as Your search for textsearchedon found the following 211 items (items 200 to 211 shown):[showif [math]([startAt]+([max]-1))[/math]>[numFound]]Your search for "[wogroup1datarq]" found the following [numFound] items[showif [numFound]>[max]] (items [startAt] to [numFound] shown)[/showif]:[/showif][hideif [math]([startAt]+([max]-1))[/math]>[numFound]]Your search for "[wogroup1datarq]" found the following [numFound] items[showif [numFound]>[max]] (items [startAt] to [math][startAt]+[max]-1[/math] shown)[/showif]:[/hideif]Obivously, you would replace [wogroup1datarq] with your keyword field. You also need to include a [startAt]=1 in your search string. If anyone has any suggestions for streamlining this, they are certainly welcome.-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 469-2567 * * 126 Jerome Avenue * FAX: (908) 469-5823 * * South Bound Brook, NJ * e-mail: help@altimac.com * * 08880-1111 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Items XX to XX shown (Gil Poulsen 1997)
  2. Re: WebCat2: Items xx to xx shown, etc. (Kenneth Grome 1997)
  3. Re: WebCat2: Items xx to xx shown, etc. (Gil Poulsen 1997)
  4. Re: WebCat2: Items xx to xx shown, etc. (Grant Hulbert 1997)
  5. Re: WebCat2: Items xx to xx shown, etc. (Grant Hulbert 1997)
  6. WebCat2: Items xx to xx shown, etc. (Gil Poulsen 1997)
In case anybody has any use for this, I thought I'd post the syntax for showing which items are being displayed in sequence when a search is conducted. Grant got me started on this and I've embellished it a bit. This covers all instances, as far as I can see, when [max] is greater than *or* less than [numFound]. This would display as Your search for textsearchedon found the following 211 items (items 200 to 211 shown):[showif [math]([startAt]+([max]-1))[/math]>[numFound]]Your search for "[wogroup1datarq]" found the following [numFound] items[showif [numFound]>[max]] (items [startAt] to [numFound] shown)[/showif]:[/showif][hideif [math]([startAt]+([max]-1))[/math]>[numFound]]Your search for "[wogroup1datarq]" found the following [numFound] items[showif [numFound]>[max]] (items [startAt] to [math][startAt]+[max]-1[/math] shown)[/showif]:[/hideif]Obivously, you would replace [wogroup1datarq] with your keyword field. You also need to include a [startAt]=1 in your search string. If anyone has any suggestions for streamlining this, they are certainly welcome.-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 469-2567 * * 126 Jerome Avenue * FAX: (908) 469-5823 * * South Bound Brook, NJ * e-mail: help@altimac.com * * 08880-1111 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

PCS Frames-Default page is solution! (1997) Re1000001: Setting up shop (1997) WebCatalog2 Feature Feedback (1996) 2.0Beta Command Ref (can't find this instruction) (1997) Using Applescript to process WebCatalog functions (1998) Exclamation point (1997) Not really WebCat- (1997) Talk List Suggestions (1997) Re:2nd WebCatalog2 Feature Request (1996) [CART] inside a [LOOP] (1997) MacAuthorize hub, no modal password dialog? (1997) SEARCH RESULTS (1998) Loops and [index] (1998) Snake Bites (1997) [WebDNA] Store module/site (2012) Help! WebCat2 bug (1997) Problem 2: Prefs file... (1997) Configuring E-mail (1997) Help! WebCat2 bug (Ben's input) (1997) [OT], Sorta: WebCat-Talk List (2000)