[WebDNA] Conditional search

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103062
interpreted = N
texte = --00163630f2410a7b4d046ff2f32b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If numfound = 0 on the first search, I expect it to close that search and start a new search: [search db=^db/products.db&group1field=SKU&waGROUP1datarq=[url][srch][/url]] [showif [numfound]=0] [/search] [search db=^db/products.db&group1field=SKU&woGROUP1datarq=[url][srch][/url]] [/showif] However, this is not working properly. Instead of closing the search with [/search], it just displays [/search] and [/showif] as text. Any ideas? ----------- Ki Song --00163630f2410a7b4d046ff2f32b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If numfound =3D 0 on the first search, I expect it to close that search and= start a new search:

[search db=3D^db/products.db&group1field=3D= SKU&waGROUP1datarq=3D[url][srch][/url]]
[showif [numfound]=3D0]
= =A0=A0=A0 [/search]
=A0=A0=A0 [search db=3D^db/products.db&group1field=3DSKU&woGROUP1da= tarq=3D[url][srch][/url]]
[/showif]

However, this is not working = properly. Instead of closing the search with [/search], it just displays [/= search] and [/showif] as text.

Any ideas?

-----------
Ki Song
--00163630f2410a7b4d046ff2f32b-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Conditional search ("Terry Wilson" 2009)
  2. Re: [WebDNA] Conditional search (Frank Nordberg 2009)
  3. Re: [WebDNA] Conditional search ("Terry Wilson" 2009)
  4. Re: [WebDNA] Conditional search (Frank Nordberg 2009)
  5. Re: [WebDNA] Conditional search (Brian Fries 2009)
  6. Re: [WebDNA] Conditional search ("Dan Strong" 2009)
  7. Re: [WebDNA] Conditional search (Terry Wilson 2009)
  8. Re: [WebDNA] Conditional search (Tom Duke 2009)
  9. [WebDNA] Conditional search ("Ki Song - Knifecenter.com" 2009)
--00163630f2410a7b4d046ff2f32b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If numfound = 0 on the first search, I expect it to close that search and start a new search: [search db=^db/products.db&group1field=SKU&waGROUP1datarq=[url][srch][/url]] [showif [numfound]=0] [/search] [search db=^db/products.db&group1field=SKU&woGROUP1datarq=[url][srch][/url]] [/showif] However, this is not working properly. Instead of closing the search with [/search], it just displays [/search] and [/showif] as text. Any ideas? ----------- Ki Song --00163630f2410a7b4d046ff2f32b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If numfound =3D 0 on the first search, I expect it to close that search and= start a new search:

[search db=3D^db/products.db&group1field=3D= SKU&waGROUP1datarq=3D[url][srch][/url]]
[showif [numfound]=3D0]
= =A0=A0=A0 [/search]
=A0=A0=A0 [search db=3D^db/products.db&group1field=3DSKU&woGROUP1da= tarq=3D[url][srch][/url]]
[/showif]

However, this is not working = properly. Instead of closing the search with [/search], it just displays [/= search] and [/showif] as text.

Any ideas?

-----------
Ki Song
--00163630f2410a7b4d046ff2f32b-- "Ki Song - Knifecenter.com"

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:

WC2.0 Memory Requirements (1997) Text variables do not show (1999) 2nd WebCatalog2 Feature Request (1996) [ShowNext] (1997) webCat craps httpd (2005) Is there a list somewhere of what ALL [url] does? (2000) Sku numbers (1997) Cant open pages generated by Webcat (2004) WC 2.0 frames feature (1997) WebCat2final1 crashes (1997) WebCat2b15MacPlugin - showing [math] (1997) Notepad problems (1998) [OT] Apple and 128bit SSL (2003) [WriteFile] problems (1997) [LOOKUP] (1997) WebDNA and Virtual Servers (2003) credit card authorization question (1997) Anyone with a solution for this? (2001) system crashes, event log (1997) Non-WebDNA Sites Reporting Errors When WebDNA Isn't Running (2006)