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:

A multi-processor savvy WebCatalog? (1997) Problems getting parameters passed into email. (1997) how to do multiple prices/item? (1998) Netscape Error Message Document Contains No Data (1998) New commands in Final candidate (1997) Search or delete (or date or time) has bugs ... (1998) What really killed WebDNA? (2007) Opinion: [input] should be called [output] ... (1997) http upload (2001) Why do extra quotation marks sometimes appear in my databases? (1998) Associative lookup style? (1997) Store setup questions (2000) Search returns all, not 20 (1997) [WebDNA] Date error (2017) listfiles-looking for slick solution (1997) New Zealand [OT - was Car Database] (2002) Paths, relative paths, webstar server setup and security (Mac) (1997) Secure Web Server (1999) Re(2): MASTER_STORE revision (2002) If Empty ? (1997)