Re: StartAT and shownext

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34814
interpreted = N
texte = StartAt is really a function of search, not shownext, although they work together. It is, suprisingly, still undocumented after all these years. If you use ShowNext, it will create a [SearchString] which will return all the records in each chunk of [max] records. So for example, if your search returns 45 records and your max=10, you will get 5 links, corresponding to 1-10, 11-20, 21-30, 31-40, and 41-45. Within the [searchstring] will be [startat] corresponding to the initial value in each range (i.e. 1, 11, 21, etc).NOTE: the [SearchString] tag includes _everything_ you need, including command=search, so don't add that as well. If you do, and your users browse back and forth, everytime they click one of these links, it will grow longer by &command=search, and will eventually bomb out your web server.I do not like having all those links eating up valuable real-estate on the screen, so I long ago came up with the following method:Then I have graphics files for Next Set, Previous Set before and after my found items and use the above URL's to link to the appropriate pages. See any of my MultiBook pages at http://www.RowmanLittlefield.comand do a quick search for anything (I always use sex since I know I will always get a few hits ;~).HTHJohn Peacock Kelly.Madden@decisionconsultants.com wrote: > > HI, > > I am using WebCat 4.0 . Could somebody explain how the variable StartAT > works with relation to the shownext context. I have seen many people use > StartAt but can't find mention of it anywhere in the WebCat documentation. > It appears to be automatically increased based on max if you use > [SearchString]. Any clarification would be helpful. > > Thanks, > Kelly------------------------------------------------------------- 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: StartAT and shownext (John Peacock 2000)
  2. StartAT and shownext (Kelly.Madden@decisionconsultants.com 2000)
StartAt is really a function of search, not shownext, although they work together. It is, suprisingly, still undocumented after all these years. If you use ShowNext, it will create a [SearchString] which will return all the records in each chunk of [max] records. So for example, if your search returns 45 records and your max=10, you will get 5 links, corresponding to 1-10, 11-20, 21-30, 31-40, and 41-45. Within the [searchstring] will be [startat] corresponding to the initial value in each range (i.e. 1, 11, 21, etc).NOTE: the [SearchString] tag includes _everything_ you need, including command=search, so don't add that as well. If you do, and your users browse back and forth, everytime they click one of these links, it will grow longer by &command=search, and will eventually bomb out your web server.I do not like having all those links eating up valuable real-estate on the screen, so I long ago came up with the following method:Then I have graphics files for Next Set, Previous Set before and after my found items and use the above URL's to link to the appropriate pages. See any of my MultiBook pages at http://www.RowmanLittlefield.comand do a quick search for anything (I always use sex since I know I will always get a few hits ;~).HTHJohn Peacock Kelly.Madden@decisionconsultants.com wrote: > > HI, > > I am using WebCat 4.0 . Could somebody explain how the variable StartAT > works with relation to the shownext context. I have seen many people use > StartAt but can't find mention of it anywhere in the WebCat documentation. > It appears to be automatically increased based on max if you use > [SearchString]. Any clarification would be helpful. > > Thanks, > Kelly------------------------------------------------------------- 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/ John Peacock

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:

Auto SKU's (2000) WebDNA's portability (2007) Secure Server (1997) Force a search at the default.tmpl page? (1997) Conditional searching & displaying (1997) First postarg not taking in $Commands (1997) ListFields and [name] (1997) Laying an egg. (1998) [WebDNA] Wishlist: ignore whitespace in database changes (2016) hiding links (1999) ShipCost formula (for weight *and* quantities)? (1998) Clear command and ShoppingCart.tmpl (1997) Generating unique SKU from [cart] (1997) Web Catalog 2 demo (1997) [shownext] and sort (1998) ShipCost Data Base (1998) oops private message leaked into talk list (1997) CC Processing (2001) RE: WebDNA-Talk searchable? (1997) [shownext max=?] armed (1997)