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:
[WebDNA] Needing Open Source Support (2012)
Protect (1997)
before after on (1998)
[WebDNA] setcookie then redirect (2013)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
boldwords (2001)
selectively replacing records within a [founditems] (2000)
New Command prefs ... (1997)
Sku numbers (1997)
WebCat2 beta 11 - new prefs ... (1997)
calculating tax rates, mail order solutions and version 2 (1997)
Bug? (1997)
Search Question (2003)
God's Truth (1998)
Erotic Sites (1997)
Need relative path explanation (1997)
Date search - yes or no (1997)
Macos8.6 to X migration problems (2000)
Displaying search results in a new frameset (1997)
Add more fields to an existent data base (1997)