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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Locking up with WebCatalog... (1997) WebCat2: multiple currency support (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Will webdna execute before a [redirect]? (1999) Mozilla/4. and Browser Info.txt (1997) WebCat2 - Getting to the browser's username/password data (1997) Nested tags count question (1997) Prices Dropped (1998) RE: Forcing Paragraph Breaks on Results (1998) WebTen and WebCat (1997) More on the email templates (I like it) (1997) General WebCatalog Questions (1997) WebCatalog 4.0.2b5 available (2000) WML (2000) WCS Newbie question (1997) Mail Lists (1998) WebCat2b13 Command Reference Doc error (1997) Force a search at the default.tmpl page? (1997) PC Cookie Problem? (2003)