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, but instead of doing a search from this template, just do a ShowPage that leads to your next template. Then put both your searches into [search] contexts on the next template. This lets you search in as many different databases as 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 how complicated your searches have to be. For example, using [lookup] is extremely useful when you can identify the proper record in another database from a single field value which is unique to that particular record ...Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. Re: Search in 2 or more catalogs (Grant Hulbert 1997)
  2. Re: Search in 2 or more catalogs (Kenneth Grome 1997)
  3. Search in 2 or more catalogs (Jacques VERNAY 1997)
>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, but instead of doing a search from this template, just do a ShowPage that leads to your next template. Then put both your searches into [search] contexts on the next template. This lets you search in as many different databases as 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 how complicated your searches have to be. For example, using [lookup] is extremely useful when you can identify the proper record in another database from a single field value which is unique to that particular record ...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)