Re: major search problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21153
interpreted = N
texte = >I need it to send the searchstring along, but with the max set to 1 and the>startat = [index]I assume part of your problem is that the [searchString] already contains amax=25. You can probably fool WebCatalog into overriding the max=N byputting your max=1 *first* in the search arguments, so it 'sees' that onefirst and uses it instead of the later max=25:[search max=1&[searchString]]Also, there is really nothing magical about [searchString] -- it's merely aconvenience in that WebCatalog puts together a nice set of searchparameters without you having to think about it. So what I'm saying is youcan make up your own search string all on your own, without usingWebCatalog's pre-built one:[search db=[db]&eqFIELDdata=[fieldValue]&max=1]It just requires you be aware of what new values (such as a new startAt,which you can compute with [math]) should be put into the parameters. Justgrab all your form variables and duplicate them into the search parameters.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I need it to send the searchstring along, but with the max set to 1 and the>startat = [index]I assume part of your problem is that the [searchString] already contains amax=25. You can probably fool WebCatalog into overriding the max=N byputting your max=1 *first* in the search arguments, so it 'sees' that onefirst and uses it instead of the later max=25:[search max=1&[searchString]]Also, there is really nothing magical about [searchString] -- it's merely aconvenience in that WebCatalog puts together a nice set of searchparameters without you having to think about it. So what I'm saying is youcan make up your own search string all on your own, without usingWebCatalog's pre-built one:[search db=[db]&eqFIELDdata=[fieldValue]&max=1]It just requires you be aware of what new values (such as a new startAt,which you can compute with
[math]) should be put into the parameters. Justgrab all your form variables and duplicate them into the search parameters.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
Protect (1997)
HTML Mail & Line breaks... (2004)
CR's (2003)
Webcatalog 2.1* and Personal Web Server 4.0 (1998)
Plugin or CGI or both (1997)
Using [setlineitems] after a purchase command ... (1997)
success - serial numbers and webmerch (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
[TCPConnect] Errors (2003)
Location of Browser Info.txt file (1997)
Cookie woes with Mac IE4 (1998)
Harvesting invalid email addresses from bounced emails??? (2000)
Credit Card Checksum (1997)
printing twice? and fix (1997)
WebCatalog occasionally stopping (2001)
no global [username] or [password] displayed ... (1997)
switching users (1998)
[WebDNA] 2nd pair of eyes on redirect please (2011)
blank page from template (1997)
Navigator 4.01 (1997)