Re: The [shownext] limitations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45775
interpreted = N
texte = This thread is getting very interesting and I think we're going to break new grounds so bear with me.Right now, this is what the form code looks like to generate the checkbox choices for the departments:[search db=Departments.db&neDepartmentIDdata=0&NameEnsort=1&NameEnsdir=as] [founditems]
[NameEn]
[/founditems] [/search]...how would you code this to be able to concatenate (Dept1+Dept2+Dept3 and so on, if they're checked by the user who performs the search)?I'm sure a lot of WebDNA coders on the list would be happy to know how to handle the checkboxes efficiently.On Wednesday, November 27, 2002, at 02:55 PM, Brian Fries wrote:> Beyond the ability to send this long of a URL (which you can't, as > others have pointed out), there are problems with your original search > that are compounding your difficulties. Namely, you cannot directly > search the same field via multiple DATA parameters. And even if you > could, you would get no found items because every one of your > woDepartmentdatarq requires a match, and clearly they can't all > match. > > Instead of multiple woDepartmentdatarq parameters, they should all > be merged into one parameter with multiple values, like this: > > &woDepartmentdatarq=DE10+DE20+DE30+DE40+....+DE200 > > In addition to searching properly, this would shorten the generated > URL considerably. > > - brian > > At 1:36 PM 11/27/2002, Claude Gelinas wrote: >> Hello Everyone, >> >> I need to know if the following WebDNA URL is too long to be >> interpreted correctly: >> >> http://www.mydomain.com/ >> Employers.max?command=search&command=search&db=Candidates.db&Candidate >> ID >> sort=1&CandidateIDsdir=de&S=1&SA=EmployersCS1&L=En&EmployerID=329- >> WED- >> 173942&SearchType=Keywords&group1field=CandidateID%2BFirstNameM%2BLast >> na >> meM%2BAliasNameM%2BEmailM%2BAliasEmailM%2BAddressM%2BPhoneM%2BSloganEn >> %2 >> BWorkExperienceEn%2BEducationEn%2BProfessionalSkillsEn%2BTechnicalSkil >> ls >> KeywordsEn%2BGeoCoverageKeywordsM&wagroup1datarq=&waOccupationalKeywor >> ds >> Mdatarq=&waGeoCoverageKeywordsMdatarq=&eqLandatarq=En&x=11&y=5&woDepar >> tm >> entdatarq=DE10&woDepartmentdatarq=DE20&woDepartmentdatarq=DE30&woDepar >> tm >> entdatarq=DE40&woDepartmentdatarq=DE50&woDepartmentdatarq=DE60&woDepar >> tm >> entdatarq=DE70&woDepartmentdatarq=DE80&woDepartmentdatarq=DE90&woDepar >> tm >> entdatarq=DE100&woDepartmentdatarq=DE110&woDepartmentdatarq=DE120&woDe >> pa >> rtmentdatarq=DE130&woDepartmentdatarq=DE140&woDepartmentdatarq=DE150&w >> oD >> epartmentdatarq=DE210&woDepartmentdatarq=DE160&woDepartmentdatarq=DE17 >> 0& >> woDepartmentdatarq=DE180&woDepartmentdatarq=DE190&woDepartmentdatarq=D >> E2 00&max=25&startAt=26 >> >> It's exactly 1,051 characters long and is created after a [shownext] >> command in which I ask to go to the following URL: >> Employers.max?command=search&[searchString] >> >> Assuming there were 25 results on the first page, would anyone of you >> know why I'm not getting a list from 26 to 50 but rather a total of >> 0 (zero) found items... I don't get it and I need your help to >> understand this one... >> >> Claude > > -- > <= Brian C. Fries, BrainScan Software > http://www.brainscansoftware.com => > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: The [shownext] limitations (John Peacock 2002)
  2. Re: The [shownext] limitations (Frank Nordberg 2002)
  3. Re: The [shownext] limitations (Dan Strong 2002)
  4. Re: The [shownext] limitations (Donovan 2002)
  5. Re: The [shownext] limitations (Dan Strong 2002)
  6. Re: The [shownext] limitations (Donovan 2002)
  7. Re: The [shownext] limitations (Brian Burton 2002)
  8. Re: The [shownext] limitations (Brian Fries 2002)
  9. Re: The [shownext] limitations (Claude Gelinas 2002)
  10. Re: The [shownext] limitations (Brian Fries 2002)
  11. Re: The [shownext] limitations (John Peacock 2002)
  12. Re: The [shownext] limitations (Claude Gelinas 2002)
  13. Re: The [shownext] limitations (Brian Burton 2002)
  14. Re: The [shownext] limitations (Glenn Busbin 2002)
  15. Re: The [shownext] limitations (Frank Nordberg 2002)
  16. The [shownext] limitations (Claude Gelinas 2002)
This thread is getting very interesting and I think we're going to break new grounds so bear with me.Right now, this is what the form code looks like to generate the checkbox choices for the departments:[search db=Departments.db&neDepartmentIDdata=0&NameEnsort=1&NameEnsdir=as] [founditems]
[NameEn]
[/founditems] [/search]...how would you code this to be able to concatenate (Dept1+Dept2+Dept3 and so on, if they're checked by the user who performs the search)?I'm sure a lot of WebDNA coders on the list would be happy to know how to handle the checkboxes efficiently.On Wednesday, November 27, 2002, at 02:55 PM, Brian Fries wrote:> Beyond the ability to send this long of a URL (which you can't, as > others have pointed out), there are problems with your original search > that are compounding your difficulties. Namely, you cannot directly > search the same field via multiple DATA parameters. And even if you > could, you would get no found items because every one of your > woDepartmentdatarq requires a match, and clearly they can't all > match. > > Instead of multiple woDepartmentdatarq parameters, they should all > be merged into one parameter with multiple values, like this: > > &woDepartmentdatarq=DE10+DE20+DE30+DE40+....+DE200 > > In addition to searching properly, this would shorten the generated > URL considerably. > > - brian > > At 1:36 PM 11/27/2002, Claude Gelinas wrote: >> Hello Everyone, >> >> I need to know if the following WebDNA URL is too long to be >> interpreted correctly: >> >> http://www.mydomain.com/ >> Employers.max?command=search&command=search&db=Candidates.db&Candidate >> ID >> sort=1&CandidateIDsdir=de&S=1&SA=EmployersCS1&L=En&EmployerID=329- >> WED- >> 173942&SearchType=Keywords&group1field=CandidateID%2BFirstNameM%2BLast >> na >> meM%2BAliasNameM%2BEmailM%2BAliasEmailM%2BAddressM%2BPhoneM%2BSloganEn >> %2 >> BWorkExperienceEn%2BEducationEn%2BProfessionalSkillsEn%2BTechnicalSkil >> ls >> KeywordsEn%2BGeoCoverageKeywordsM&wagroup1datarq=&waOccupationalKeywor >> ds >> Mdatarq=&waGeoCoverageKeywordsMdatarq=&eqLandatarq=En&x=11&y=5&woDepar >> tm >> entdatarq=DE10&woDepartmentdatarq=DE20&woDepartmentdatarq=DE30&woDepar >> tm >> entdatarq=DE40&woDepartmentdatarq=DE50&woDepartmentdatarq=DE60&woDepar >> tm >> entdatarq=DE70&woDepartmentdatarq=DE80&woDepartmentdatarq=DE90&woDepar >> tm >> entdatarq=DE100&woDepartmentdatarq=DE110&woDepartmentdatarq=DE120&woDe >> pa >> rtmentdatarq=DE130&woDepartmentdatarq=DE140&woDepartmentdatarq=DE150&w >> oD >> epartmentdatarq=DE210&woDepartmentdatarq=DE160&woDepartmentdatarq=DE17 >> 0& >> woDepartmentdatarq=DE180&woDepartmentdatarq=DE190&woDepartmentdatarq=D >> E2 00&max=25&startAt=26 >> >> It's exactly 1,051 characters long and is created after a [shownext] >> command in which I ask to go to the following URL: >> Employers.max?command=search&[searchString] >> >> Assuming there were 25 results on the first page, would anyone of you >> know why I'm not getting a list from 26 to 50 but rather a total of >> 0 (zero) found items... I don't get it and I need your help to >> understand this one... >> >> Claude > > -- > <= Brian C. Fries, BrainScan Software > http://www.brainscansoftware.com => > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Claude Gelinas

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:

Redirect in 4.0 (2000) RE: Purchased cart being overwritten (1997) A little syntax help (1997) Multiple Passwords (1997) emailer setup (1997) Need Sample Template - just purchased (1997) [WriteFile] problems (1997) RE: type 2 errors with ssl server (1997) [WebDNA] webdna7 sendmail error (2012) Access Denied! But why? (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) [INCLUDE] Limitations (1998) shell problems again... (2003) Help name our technology! I found it (1997) frames & carts (1997) delete after x (1998) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Frames and WebCat (1997) Setting up WebCatalog with Retail Pro data (1996) [OT] Robust order processing (2003)