Re: question on max variable in searching...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33990
interpreted = N
texte = >I noticed that there is a comparison operator you can use when referencing >the max variable. I want to assign a greater than symbol to this so I can >say, if the number of records returned is greater then 1 do something else >than if one record is returned. > >Pretty simple I would think.Sure,[ShowIf [numfound]>1] do this [/ShowIf][ShowIf [numfound]<1] otherwise, do this [/ShowIf]or using new 4.0 contexts:[If [numfound]>1] [then] do this [/then] [else] do this [/else] [/If]Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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: question on max variable in searching... (WebDNA Support 2000)
  2. question on max variable in searching... (AEC Software, Matthew Levy 2000)
>I noticed that there is a comparison operator you can use when referencing >the max variable. I want to assign a greater than symbol to this so I can >say, if the number of records returned is greater then 1 do something else >than if one record is returned. > >Pretty simple I would think.Sure,[ShowIf [numfound]>1] do this [/ShowIf][ShowIf [numfound]<1] otherwise, do this [/ShowIf]or using new 4.0 contexts:[If [numfound]>1] [then] do this [/then] [else] do this [/else] [/If]Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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/ WebDNA Support

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:

[convertchars] (2000) Upgrading from 2.1 to 3.0.7 (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Calculating multiple shipping... (1997) Typhoon Pro Admin and Problems (2001) [OT] Webmaster Opportunity in Cypress, CA (2003) time and welcome (1999) Protect (1997) shopping cart bug? or link? (1999) Showing unopened cart (1997) bug in [SendMail] (1997) HTML tags inside textarea (2000) problem with applets embedded in tpl files (1997) webcat (2000) sort problems....bug or brain fart? (1997) New WebMerchant/Mac beta available (1997) expired beta (1997) RE: [isfolder] and [filename] (1997) Properly coded search fails ... (2003) [WebDNA] An unknown error occured // Deadlock avoided (2011)