Re: [numFound] inside [showIf]?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31991
interpreted = N
texte = Looks to me like you need a space between showif and [numfound]. Not sure though.[showif [numfound]=0]Bob McPeak wrote:> Is there a trick to using [numFound] inside a [showIf] context? What am > I not getting right in the code below? Thanks. > > [search db=fitproducts.db&titledata=[KEYWORD]] >

There were [numFound] matches > for [Keyword].

> [FoundItems] >

> > COLOR=#00005E>
Title COLOR=#00005E>ISBNLead > Author/Editor COLOR=#00005E>CopyrightList > Price
[Title][ISBN][Author1][Editor1][Copyrightdate][Price]

> >

[ShowIf[numFound]=0]Sorry, there were no > matches for your search. Please href=mailto:help@fitinfotech.com>tell us what you are looking > for.[/ShowIf]

> > [/FoundItems] > > [/search] > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [numFound] inside [showIf]? (Robert Wade 2000)
  2. Re: [numFound] inside [showIf]? (Bob McPeak 2000)
  3. Re: [numFound] inside [showIf]? (WebDNA Support 2000)
  4. [numFound] inside [showIf]? (Bob McPeak 2000)
Looks to me like you need a space between showif and [numfound]. Not sure though.[showif [numfound]=0]Bob McPeak wrote:> Is there a trick to using [numFound] inside a [showif] context? What am > I not getting right in the code below? Thanks. > > [search db=fitproducts.db&titledata=[KEYWORD]] >

There were [numFound] matches > for [Keyword].

> [founditems] >

> > COLOR=#00005E>
Title COLOR=#00005E>ISBNLead > Author/Editor COLOR=#00005E>CopyrightList > Price
[Title][ISBN][Author1][Editor1][Copyrightdate][Price]

> >

[ShowIf[numFound]=0]Sorry, there were no > matches for your search. Please href=mailto:help@fitinfotech.com>tell us what you are looking > for.[/ShowIf]

> > [/FoundItems] > > [/search] > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Robert Wade

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:

WebCat2: Found Items syntax, etc. (1997) RE: Help name our technology! (1997) Country & Ship-to address & other fields ? (1997) Project 2 (1998) MacFinder -- a new WebDNA web site (1998) [isfile] ? (1997) Missing something simple? (1999) in header include files? (1998) sendmail (2000) WebCatb15 Mac CGI -- [purchase] (1997) Changing the value assigned to a formvariable (2000) Date Sorting (1997) [lookup] [search] Issue (2005) Request Time Out (1997) Message Board (2001) Bug Report, maybe (1997) [WebDNA] German e-shop company proclaims "In Memory Computing" (2010) cc auth with [purchase] (1998) SiteGuard Admin Feature ? (1997) New public beta available (1997)