Weird problems with [SHOWIF]s

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13282
interpreted = N
texte = I'm getting strange results when I try to add two [SHOWIF]s into an inline search. I have no idea what's wrong. Can someone spot something amiss in the codes below? When I use just neither of the [SHOWIF]s, everything displays fine:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [MATH][K]+1[/MATH]-[MATH][K]+[DISP][/MATH].<

[FOUNDITEMS]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/FOUNDITEMS][/SEARCH] When I use just one of the [SHOWIF]s, I get the error message Error: the database ':DB:Description.db' could not be found or opened:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [MATH][K]+1[/MATH]-[MATH][K]+[DISP][/MATH].<

[FOUNDITEMS][SHOWIF [INDEX]<<[K]+[DISP]]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/SHOWIF][/FOUNDITEMS][/SEARCH] When I use both [SHOWIF]s, *nothing* displays:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [MATH][K]+1[/MATH]-[MATH][K]+[DISP][/MATH].<

[FOUNDITEMS][SHOWIF [INDEX]>[K]][SHOWIF [INDEX]<<[K]+[DISP]]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/SHOWIF][/SHOWIF][/FOUNDITEMS][/SEARCH] Michael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Weird problems with [SHOWIF]s (Michael Winston 1997)
  2. Re: Weird problems with [SHOWIF]s (Michael Winston 1997)
  3. Re: Weird problems with [SHOWIF]s (Michael Winston 1997)
  4. Re: Weird problems with [SHOWIF]s (Kenneth Grome 1997)
  5. Re: Weird problems with [SHOWIF]s (grichter@panavise.com (Gary Richter) 1997)
  6. Re: Weird problems with [SHOWIF]s (Kenneth Grome 1997)
  7. Weird problems with [SHOWIF]s (Michael Winston 1997)
I'm getting strange results when I try to add two [showif]s into an inline search. I have no idea what's wrong. Can someone spot something amiss in the codes below? When I use just neither of the [showif]s, everything displays fine:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [math][K]+1[/MATH]-[math][K]+[DISP][/MATH].<

[founditems]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/FOUNDITEMS][/SEARCH] When I use just one of the [showif]s, I get the error message Error: the database ':DB:Description.db' could not be found or opened:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [math][K]+1[/MATH]-[math][K]+[DISP][/MATH].<

[founditems][SHOWIF [INDEX]<<[K]+[DISP]]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/SHOWIF][/FOUNDITEMS][/SEARCH] When I use both [showif]s, *nothing* displays:[SEARCH db=DB/Comics.db&....]FOUND [NUMFOUND] items. Showing items [math][K]+1[/MATH]-[math][K]+[DISP][/MATH].<

[founditems][SHOWIF [INDEX]>[K]][SHOWIF [INDEX]<<[K]+[DISP]]...[LOOKUP db=DB/Description.db&value=[SKU]&LookInField=SKU&ReturnField=description]...[/SHOWIF][/SHOWIF][/FOUNDITEMS][/SEARCH] Michael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

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:

WebCatalog on Windows 98 (2000) Shopping Cart Problem (1998) Multiple SSL Keys (1998) Resume Catalog ? (1997) Multiple Image Upload --> ImageMagick (2005) Re:2nd WebCatalog2 Feature Request (1996) MacFinder -- a new WebDNA web site (1998) Securing/hiding database file (2000) [referrer] tag (1997) SUBMIT buttons not working.... (2000) How do I get Google to crawl a WebCat site? (2003) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) [WebDNA] WebDNA Roll Call (2014) Special search (1998) international time (1997) RequiredFields template (1997) Sendmail doesn't (was Queertrons?) (1997) [WebDNA] Abandoned Carts (2009) WebCatalog Upgrade Pricing? (1997) did I miss anything (1997)