Re: Problem with Formulas.db

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19604
interpreted = N
texte = >>I have the following formula in the Formulas.db, unfortunately it doesn't >>work with < but with >. > >>shipCost [showif [subTotal]<700]35[/showif] > >What do you want the shipcost to be if the subTotal is > 700? Don't you >need to tell it what that value would be, too? > >shipCost [showif [subTotal]<700]35[/showif][showif >[subTotal]>699.99]5.00[/showif] Thanks for the hint.I have now the formula[showif [subTotal]<700.00]35[/showif][showif [subTotal]>699.99]0[/showif] and it works. I have thought I don't need the second part because it is zero. Regards, Mike Heininger----------------------------------------------------- Mike Heininger mailto:mike@heininger.atHeininger Ges.m.b.H. - Graphik, Satz und MediendesignCarlbergergasse 52 www: http://www.heininger.at/ A-1230 Vienna phone: +43 1 865 11 64 -0 Austria / Europe fax: +43 1 865 11 64 -11Visit our WebShop! Besuchen Sie unseren WebShop! http://www.TheShop.at/ ----------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with Formulas.db (Brian Boegershausen 1999)
  2. Problem with Formulas.db (Karim Ardalan 1999)
  3. Re: Problem with Formulas.db (Mike Heininger 1998)
  4. Re: Problem with Formulas.db (Mike Heininger 1998)
  5. Re: Problem with Formulas.db (Kenneth Grome 1998)
  6. Re: Problem with Formulas.db (PCS Technical Support 1998)
  7. Re: Problem with Formulas.db (Mícheál O Sé 1998)
  8. Problem with Formulas.db (Mike Heininger 1998)
>>I have the following formula in the formulas.db, unfortunately it doesn't >>work with < but with >. > >>shipCost [showif [subTotal]<700]35[/showif] > >What do you want the shipcost to be if the subTotal is > 700? Don't you >need to tell it what that value would be, too? > >shipCost [showif [subTotal]<700]35[/showif][showif >[subTotal]>699.99]5.00[/showif] Thanks for the hint.I have now the formula[showif [subTotal]<700.00]35[/showif][showif [subTotal]>699.99]0[/showif] and it works. I have thought I don't need the second part because it is zero. Regards, Mike Heininger----------------------------------------------------- Mike Heininger mailto:mike@heininger.atHeininger Ges.m.b.H. - Graphik, Satz und MediendesignCarlbergergasse 52 www: http://www.heininger.at/ A-1230 Vienna phone: +43 1 865 11 64 -0 Austria / Europe fax: +43 1 865 11 64 -11Visit our WebShop! Besuchen Sie unseren WebShop! http://www.TheShop.at/ ----------------------------------------------------- Mike Heininger

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:

Attention all list readers (1997) Trigger Problems (2000) [OT] Work available (2001) select multiple (1997) [WebDNA] Secure & HttpOnly Session Cookies (2013) [WebDNA] WebDNA used in US Government work? (2013) Trouble with formula.db (1997) Web Developer Product Awards (1997) Serving images from databases (1998) WebCatalog for Dummies part 2 (2000) Error reading data -1 (1997) Two options to consider (2008) Bug? (1997) Templates on Unix & CGI on Mac? (1997) [isfolder] and [filename] (1997) Re[2]: Charting records by state (2000) OT - SMSI complaint (2001) too many files! (2006) RE: [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019) Problems with [Search] param - Mac Plugin b15 (1997)