Multi Math bug?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30266
interpreted = N
texte = Is this suppose to work this way?I am setting math variables from a found database record. If the variable doesn't have an entry it kills all other math entries.ie: [search db=my.db&eqsku=4] [founditems] [math show=f]a1=[f1];a2=[f2];a3=[f3];a4=[f4][/math] [/founditems] [/search]a1=[a1] - a2=[a2] - a3=[a3] - a4=[a4]If f2=0 then a3 and a4 are set if F2= then a3 and a4 are not set at all.Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: WebDNA Support > Reply-To: (WebCatalog Talk) > Date: Mon, 10 Apr 2000 15:41:18 > To: (WebCatalog Talk) > Subject: Re: Limiting [FoundItems] > > You can show the [type] when the index is equal to 1 like this > [FoundItems][showif [index]=1][Type] > Lenses[/showif][/FoundItems] > > or like this > > > [founditems] > [showif [index]=1] > > > > > > > > > > [/showif] > > > > > > > > > > > > [/FoundItems] >
[Type] Lenses
CodeLens TypeLens DescriptionColourPack SizePriceOrder
[CLCode][Type][Description][Colour][PackQty] [ShowIf [PackQty]!]pair[ShowIf > [PackQty]>1]s[/ShowIf][/ShowIf][ShowIf [PackQty]=] [/ShowIf]$[format .2f][Price][/Format] HREF=contactscart.html?command=add&db=contactlenses.db&sku=[sku]&cart=[cart > ]&id=[random][random][random]> BORDER=0>
> > > 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 ********************************* > > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Stuart Tremain > Sent: Monday, April 10, 2000 2:54 PM > To: WebCatalog Talk > Subject: Limiting [FoundItems] > > > I am using this search string to get a list of products from a db: > > HREF=contactsresults.html?command=search&db=contactlenses.db&typedata=dispo > sable&descriptionsort=1&descriptionsdir=as> > > The results appear in a table. What I would like is for the table to have a > heading, in this case 'Disposable'. When I used [foundItems] to place > 'Disposable' it appears multiple times. > > How can I have it appear only once? > > > > > > > > > > > > > > [FoundItems] > > > > > > > > > > > [/FoundItems] >
[FoundItems][Type] Lenses[/FoundItems]
CodeLens TypeLens DescriptionColourPack SizePriceOrder
[CLCode][Type][Description][Colour][PackQty] [ShowIf [PackQty]!]pair[ShowIf > [PackQty]>1]s[/ShowIf][/ShowIf][ShowIf [PackQty]=] [/ShowIf]$[format .2f][Price][/Format] HREF=contactscart.html?command=add&db=contactlenses.db&sku=[sku]&cart=[cart > ]&id=[random][random][random]> BORDER=0>
> -- > Stuart Tremain > > Digital Imaging Division > The Ad-Libitum Group > 48 Victoria Street > North Sydney 2060 Australia > Phone: +612 9959 5633 Fax: +612 9929 4146 > > email: stuartt@adlib.com.au > http://www.adlib.com.au > > > > ------------------------------------------------------------- > 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 > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Multi Math bug? (WebDNA Support 2000)
  2. Multi Math bug? (Bob Minor 2000)
Is this suppose to work this way?I am setting math variables from a found database record. If the variable doesn't have an entry it kills all other math entries.ie: [search db=my.db&eqsku=4] [founditems] [math show=f]a1=[f1];a2=[f2];a3=[f3];a4=[f4][/math] [/founditems] [/search]a1=[a1] - a2=[a2] - a3=[a3] - a4=[a4]If f2=0 then a3 and a4 are set if F2= then a3 and a4 are not set at all.Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: WebDNA Support > Reply-To: (WebCatalog Talk) > Date: Mon, 10 Apr 2000 15:41:18 > To: (WebCatalog Talk) > Subject: Re: Limiting [founditems] > > You can show the [type] when the index is equal to 1 like this > [founditems][showif [index]=1][Type] > Lenses[/showif][/FoundItems] > > or like this > > > [founditems] > [showif [index]=1] > > > > > > > > > > [/showif] > > > > > > > > > > > > [/FoundItems] >
[Type] Lenses
CodeLens TypeLens DescriptionColourPack SizePriceOrder
[CLCode][Type][Description][Colour][PackQty] [ShowIf [PackQty]!]pair[ShowIf > [PackQty]>1]s[/ShowIf][/ShowIf][ShowIf [PackQty]=] [/ShowIf]$[format .2f][Price][/Format] HREF=contactscart.html?command=add&db=contactlenses.db&sku=[sku]&cart=[cart > ]&id=[random][random][random]> BORDER=0>
> > > 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 ********************************* > > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Stuart Tremain > Sent: Monday, April 10, 2000 2:54 PM > To: WebCatalog Talk > Subject: Limiting [founditems] > > > I am using this search string to get a list of products from a db: > > HREF=contactsresults.html?command=search&db=contactlenses.db&typedata=dispo > sable&descriptionsort=1&descriptionsdir=as> > > The results appear in a table. What I would like is for the table to have a > heading, in this case 'Disposable'. When I used [founditems] to place > 'Disposable' it appears multiple times. > > How can I have it appear only once? > > > > > > > > > > > > > > [founditems] > > > > > > > > > > > [/FoundItems] >
[founditems][Type] Lenses[/FoundItems]
CodeLens TypeLens DescriptionColourPack SizePriceOrder
[CLCode][Type][Description][Colour][PackQty] [ShowIf [PackQty]!]pair[ShowIf > [PackQty]>1]s[/ShowIf][/ShowIf][ShowIf [PackQty]=] [/ShowIf]$[format .2f][Price][/Format] HREF=contactscart.html?command=add&db=contactlenses.db&sku=[sku]&cart=[cart > ]&id=[random][random][random]> BORDER=0>
> -- > Stuart Tremain > > Digital Imaging Division > The Ad-Libitum Group > 48 Victoria Street > North Sydney 2060 Australia > Phone: +612 9959 5633 Fax: +612 9929 4146 > > email: stuartt@adlib.com.au > http://www.adlib.com.au > > > > ------------------------------------------------------------- > 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 > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Bob Minor

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:

syntax question, not in online refernce (1997) [OT] DOD again (2003) [WebDNA] [sendmail] inside search (2016) Shopping Cart Best Practices (2006) [WebDNA] Code to display a RSS feed (2019) FileMaker and WebCat - .hdr OK Merge not OK (1999) wild question (1998) AOL and webcat (1998) [defined]ish (1997) [OT] Certs (2002) Webstar 1.3.1 PPC (1997) WebDNA Challenge - Was: Why WebDNA is not popular (2002) Having SSL pages on separate server (1999) calculating tax rates, mail order solutions and version 2 (1997) Can't add a field (1998) Emailer (1997) Customizing WebDelivery.html (1998) New index for docs (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) re: Default contains WEBDNA (1998)