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 DevelopmentWebCatalog 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:
>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 DevelopmentWebCatalog 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:
Cross OS Compatible HTML emailing (2003)
weird G3 happenings (1998)
WebCat2: multiple currency support (1997)
Targeting [redirect] to a frame? (1998)
How to append text after the sign & (1997)
WebDelivery downloads alias, not original ? (1997)
Sorting by date (1997)
Multiple Ad databases? (1997)
WC TableGrinder (1997)
Requiring that certain fields be completed (1997)
Protecting a folder (2000)
OK, here goes... (1997)
authentication box not kicking in (2001)
Shownext! (1998)
Calculating multiple shipping... (1997)
Instructions for Digest (1997)
ListFields and [name] (1997)
New cart in ShoppingCarts (2003)
Duplicate Hell (1999)
Quick ShowIf question (1997)