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:
What if SSL server down? MAC (1997)
NT Setup (1998)
WCS Newbie question (1997)
Append (1999)
web delivery (1997)
pass a captured value (2004)
showif and cart (1997)
Frames and WebCat (1997)
Its not that weird. (1997)
Preloader for file uploading (2005)
WebCat2_Mac RETURNs in .db (1997)
PSC recommends what date format yr 2000??? (1997)
setting cookies for another domain? (2002)
[WebDNA] RESTART WebDNA (2016)
Plugin or CGI or both (1997)
[quantity] within formulas (1997)
WebCatalog NT beta 18 now available (1997)
showif comparison begins w/ and contains (1997)
Running 2 two WebCatalog.acgi's (1996)
[TaxableTotal] - not working with AOL and IE (1997)