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 -0Austria / 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:
>>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 -0Austria / 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:
emailer settings and control questions (1997)
Multiple Selections in Pull-Down Menu (2000)
Server crash (1997)
Credit card payment processor (2004)
WebCat2b12--[searchstring] bug (1997)
Error Lob.db records error message not name (1997)
Changing price for a SLU based on options (size, etc.) (1997)
E-Mailer (WebCatb15acgiMac) (1997)
WebCatalog for guestbook ? (1997)
problems with 2 tags (1997)
Logout? (1998)
Protect (1997)
Newbie problem blah blah blah (1997)
[WebDNA] Question about server performance ... (2008)
WebCat2 - Getting to the browser's username/password data (1997)
Search results templates (1996)
Sorting... stumped. (2006)
WebCatalog2 Feature Feedback (1996)
Practical Uses (2003)
Banner DNA (1997)