Re: startat param not working

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 70021
interpreted = N
texte = Donovan, It's my understanding that max is the maximum number of results to be returned and NOT the position or index of the last item returned. I'm guessing your startat is working, but you need to change max to 100 in the first example. Could you be confusing max with end in the [shownext] context? -- James P. Ziegler Director of Web Services Plank Road Publishing www.MusicK8.com (Web Site for Music Teachers) www.GoldenRuleMusic.com (Sacred Music Web Site) www.MusicK8Kids.com (Web Site for Students) www.ResourcefulClassroom.com (Web Site for Classroom Teachers) www.SchoolMusicMatters.com (Music Advocacy Web Site) On Apr 5, 2008, at 11:15 PM, Donovan Brooke wrote: > Hello, > > I have a search where the startat param doesn't seem to > be working. Below is the actual values that the (commented > out) search is receiving: > > [*search db=^groworganic/db/memMerg2K80404.db[!] > [/!]&neCustomerdata=_BOGUS%2A%2A[!] > [/!]&startat=100[!] > [/!]&max=200[!] > [/!]&rank=off] > [*founditems][*/founditems][*/search] > > I expect that founditems will loop 100 times (starts at > index 100 and ends at the max 200). Well, founditems is > looping 200 times. In fact, if I change the startat to > 1500 and the max to 2000, founditems will loop 2000 times. > (it is always looping to the max number as if it doesn't > see the startat param). > > This is baffeling because I have another test on the > same server that working perfectly. > > Any idears why the starat param wouldn't work? > > Donovan > > > > > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: startat param not working ( Donovan Brooke 2008)
  2. Re: startat param not working ( Jim Ziegler 2008)
  3. startat param not working ( Donovan Brooke 2008)
Donovan, It's my understanding that max is the maximum number of results to be returned and NOT the position or index of the last item returned. I'm guessing your startat is working, but you need to change max to 100 in the first example. Could you be confusing max with end in the [shownext] context? -- James P. Ziegler Director of Web Services Plank Road Publishing www.MusicK8.com (Web Site for Music Teachers) www.GoldenRuleMusic.com (Sacred Music Web Site) www.MusicK8Kids.com (Web Site for Students) www.ResourcefulClassroom.com (Web Site for Classroom Teachers) www.SchoolMusicMatters.com (Music Advocacy Web Site) On Apr 5, 2008, at 11:15 PM, Donovan Brooke wrote: > Hello, > > I have a search where the startat param doesn't seem to > be working. Below is the actual values that the (commented > out) search is receiving: > > [*search db=^groworganic/db/memMerg2K80404.db[!] > [/!]&neCustomerdata=_BOGUS%2A%2A[!] > [/!]&startat=100[!] > [/!]&max=200[!] > [/!]&rank=off] > [*founditems][*/founditems][*/search] > > I expect that founditems will loop 100 times (starts at > index 100 and ends at the max 200). Well, founditems is > looping 200 times. In fact, if I change the startat to > 1500 and the max to 2000, founditems will loop 2000 times. > (it is always looping to the max number as if it doesn't > see the startat param). > > This is baffeling because I have another test on the > same server that working perfectly. > > Any idears why the starat param wouldn't work? > > Donovan > > > > > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Jim Ziegler

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:

Forms (1997) Country & Ship-to address & other fields ? (1997) WebCatalog can't find database (1997) Closing Databases (1998) Where's Cart Created ? (1997) WebMerchant Question (1998) Sendmail & Time Issue (2001) Support ?? (1997) [WebDNA] Imagemagick (2018) Triggers (2003) Append..... doesn't (2000) Session Number (1998) [HIDEIF] inside [FOUNDITEM] (1997) strip .0 off off IPaddress (1998) Search returns all, not 20 (1997) Mozilla/4. and Browser Info.txt (1997) WebCatalog [FoundItems] Problem - LONG - (1997) WC1.6 to WC2 date formatting (1997) displaying New products (Yikes! it's Fixed!) (1997) [OT] Server check please (2006)