Re: Search in 2 or more catalogs
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10312
interpreted = N
texte = >I want to search a product in 2 or more catalogs in the same search,>how can I do ?>>ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageYou can collect all the the search parameters on your first template, butinstead of doing a search from this template, just do a ShowPage that leadsto your next template. Then put both your searches into [search] contextson the next template. This lets you search in as many different databasesas you like, and all the results will be displayed on a single form.By the way, there are other ways to do this too, depending on exactly howcomplicated your searches have to be. For example, using [lookup] isextremely useful when you can identify the proper record in anotherdatabase from a single field value which is unique to that particularrecord ...Sincerely,Ken
Associated Messages, from the most recent to the oldest:
>I want to search a product in 2 or more catalogs in the same search,>how can I do ?>>ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageYou can collect all the the search parameters on your first template, butinstead of doing a search from this template, just do a ShowPage that leadsto your next template. Then put both your searches into
[search] contextson the next template. This lets you search in as many different databasesas you like, and all the results will be displayed on a single form.By the way, there are other ways to do this too, depending on exactly howcomplicated your searches have to be. For example, using
[lookup] isextremely useful when you can identify the proper record in anotherdatabase from a single field value which is unique to that particularrecord ...Sincerely,Ken
Kenneth Grome
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:
Can't load tmpl files (1997)
Running 2 two WebCatalog.acgi's (1996)
[SearchString] problem with [search] context (1997)
WebCat2 - many [carts] on one template page? (1997)
ShowPage error (1998)
[append] - illegal characters? (2000)
RE: [WebDNA] Error. WebDNA (version 5.1g or later) is not running. (2013)
Help! Missing [showif] or [hideif] (2000)
Shipping cost out of synch (1998)
A quickie question (1997)
Location of Browser Info.txt file (1997)
New Plug-in and Type 11 errors (1997)
Re(9): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
[date] BUG! (2002)
FW: 2.01 upgrade problems (1997)
[WebDNA] [OT] potential cheap WebDNA server? (2009)
Multiple cart additions (1997)
problems with 2 tags (1997)
[replaceChars] would be nice ... (1997)
problem serving foreign languages text (1997)