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:
WebCat2 - Getting to the browser's username/password data (1997)
code to phantom spacing (2001)
WebCat b13 CGI -shownext- (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Quit revisited (1997)
NT b19 sends extra MIME headers (1997)
b12 cannot limit records returned and more. (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
RE: WebCatalog2 for NT Beta Request (1997)
[append] vs. [appendfile] delta + question? (1997)
[SHOWNEXT] Examples (1997)
docs for WebCatalog2 (1997)
Nesting [RAW] (1998)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
emailer (1997)
WCS Newbie question (1997)
Sorting error (1997)
PHP Live (2005)
Include an include file as raw webDNA (2002)
Answer: WebDelivery downloads alias, not original ? (1997)