Re: [shownext] and sort

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19315
interpreted = N
texte = Yes, I realize this. I'm searching a database with 300+ entries and that's what my numfound is.Here's a URL for you to check it out: http://www.enerpac.com/scdb/search.tpl>Max refers to the number of found items returned at one time. So if you >increase the number, then it is very likely there will be fewer, or none, >show next links (since all the found items are displayed). What is the >number of found records ([numfound])? Is it less than 50? > >John.>>I got it to sort correctly by adding an _ (underscore) to the field names >>in the Search link. Still having problems with the ShowNext buttons >>though. >> >>If my _max=10 or 20, the ShowNext buttons show up fine. >>If I increase the max value to 50, my ShowNext buttons disappear. >> >>Am I doing something wrong or is this a bug? >> >>Sue Ann >> >> >>>Sorry about that. Here's the URL with the search stuff. (I'm having >>>problems with the shownext and sorting) >>> >>>>>HREF=AdminResults.tpl?command=search&db=ServiceCenter.db&_neskudata=find_a >>>ll&startat=1&max=50&cart=[cart]&CompanyNamesort=1&CompanyNamesdir=as> >>> >>>I know it finds all the records by using the the numfound. But it doesn't >>>show my ShowNext buttons - and it isn't sorting properly either. >>> >>>Sue Ann >>> >>> >>> >>>>>Here's the full hyperlink: >>>>>>>>>HREF=AdminResults.tpl?startat=1&max=50&cart=[cart]&CompanyNamesort=1&Compa>>>>>nyNamesdir=as&_neskudata=find_all> >>>>> >>>>>And the ShowNext code: >>>>>[shownext] >>>>>
>>>>> >>>>>[formvariables name=_&exact=F]>>>>NAME=[url][name][/url] VALUE=[url][value][/url]> >>>>>[/formvariables] >>>>> >>>>>
[/shownext] >>>> >>>>Where's the search context? They both relate to the search context, so >>>>without it we cannot help ... >>>> Associated Messages, from the most recent to the oldest:

    
  1. Re: [shownext] and sort (Gary Richter 1998)
  2. Re: [shownext] and sort (Sue Ann Sanders 1998)
  3. Re: [shownext] and sort (Gary Richter 1998)
  4. Re: [shownext] and sort (John Hill 1998)
  5. Re: [shownext] and sort (Sue Ann Sanders 1998)
  6. Re: [shownext] and sort (Peter Ostry 1998)
  7. Re: [shownext] and sort (Kenneth Grome 1998)
  8. Re: [shownext] and sort (Sue Ann Sanders 1998)
  9. Re: [shownext] and sort (Sue Ann Sanders 1998)
Yes, I realize this. I'm searching a database with 300+ entries and that's what my numfound is.Here's a URL for you to check it out: http://www.enerpac.com/scdb/search.tpl>Max refers to the number of found items returned at one time. So if you >increase the number, then it is very likely there will be fewer, or none, >show next links (since all the found items are displayed). What is the >number of found records ([numfound])? Is it less than 50? > >John.>>I got it to sort correctly by adding an _ (underscore) to the field names >>in the Search link. Still having problems with the ShowNext buttons >>though. >> >>If my _max=10 or 20, the ShowNext buttons show up fine. >>If I increase the max value to 50, my ShowNext buttons disappear. >> >>Am I doing something wrong or is this a bug? >> >>Sue Ann >> >> >>>Sorry about that. Here's the URL with the search stuff. (I'm having >>>problems with the shownext and sorting) >>> >>>
>>HREF=AdminResults.tpl?command=search&db=ServiceCenter.db&_neskudata=find_a >>>ll&startat=1&max=50&cart=[cart]&CompanyNamesort=1&CompanyNamesdir=as> >>> >>>I know it finds all the records by using the the numfound. But it doesn't >>>show my ShowNext buttons - and it isn't sorting properly either. >>> >>>Sue Ann >>> >>> >>> >>>>>Here's the full hyperlink: >>>>>>>>>HREF=AdminResults.tpl?startat=1&max=50&cart=[cart]&CompanyNamesort=1&Compa>>>>>nyNamesdir=as&_neskudata=find_all> >>>>> >>>>>And the ShowNext code: >>>>>[shownext] >>>>>
>>>>> >>>>>[formvariables name=_&exact=F]>>>>NAME=[url][name][/url] VALUE=[url][value][/url]> >>>>>[/formvariables] >>>>> >>>>>
[/shownext] >>>> >>>>Where's the search context? They both relate to the search context, so >>>>without it we cannot help ... >>>> Sue Ann Sanders

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:

[WebDNA] Format Days_To_Date (2008) You *can!!* overwrite username/password using an HTML form. Also, experts *please* see Q at end (2000) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) form data submission gets truncated (1997) Country & Ship-to address & other fields ? (1997) Random sort is not random at all..... (2000) UPS Shipping (1999) search results not sorted with 'cl' (1998) [WebDNA] WebDNA Showcase? (2008) RE: 2nd WebCatalog2 Feature Request (1996) RE: MacFinder -- a new WebDNA web site (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) access denied problem (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) RAM variables (1997) Security hole in WebCat? (1999) Multiple prices (1997) Web Browser %Numbers - A must read for web developers (2003) Multiple prices (1997) [LOOKUP] (1997)