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:

WordBreak Qestion (1998) Max Record length (1997) [OT] Hacked IIS/FTP (2002) Help! WebCat2 bug (1997) Tags on root directory files? (1998) WebCatalog 2.1b4/Mac available (1997) Resume Catalog ? (1997) Foreign Chars ( יאצה and so on) (1998) Fwd: FW: Purchase Command error (1997) (2000) page chokes on hideif when false and ignored (1998) WebCat2b12--[searchstring] bug (1997) Protect and Serve (1999) Plugin or CGI or both (1997) [defined]ish (1997) New Command prefs ... (1997) emailer (1997) NewCart+Search with one click ? (1997) Show if time tags (1997) all records returned. (1997)