Formulas What if.

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22649
interpreted = N
texte = What happens if I have a [interpret] in shipcost and a number value gets input instead of a formula based on the shipvia value?ie I have this in the formulas [interpret][lookup db=ShipCosts.db&lookInField=ShipMethod&value=[shipvia]&returnfield=ShipCost] [/interpret] in one instance this is plugged in: [math show=f]rate=0[/math][showif [subtotal]<200][math show=f]rate=12[/math][/showif][showif [subtotal]<150][math show=f]rate=10[/math][/showif][showif [subtotal]<100][math show=f]rate=8[/math][/showif][showif [subtotal]<50][math show=f]rate=6[/math][/showif][showif [subtotal]<25][math show=f]rate=4[/math][/showif][hideif [subtotal]<200][math show=f]rate=0[/math][/hideif][math]rate*1[/math]in another this is: $15.00Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: Formulas What if. (PCS Technical Support 1999)
  2. Formulas What if. (Bob Minor 1999)
What happens if I have a [interpret] in shipcost and a number value gets input instead of a formula based on the shipvia value?ie I have this in the formulas [interpret][lookup db=ShipCosts.db&lookInField=ShipMethod&value=[shipvia]&returnfield=ShipCost] [/interpret] in one instance this is plugged in: [math show=f]rate=0[/math][showif [subtotal]<200][math show=f]rate=12[/math][/showif][showif [subtotal]<150][math show=f]rate=10[/math][/showif][showif [subtotal]<100][math show=f]rate=8[/math][/showif][showif [subtotal]<50][math show=f]rate=6[/math][/showif][showif [subtotal]<25][math show=f]rate=4[/math][/showif][hideif [subtotal]<200][math show=f]rate=0[/math][/hideif][math]rate*1[/math]in another this is: $15.00Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. 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:

WebCatalog host... (2000) Re:quit command on NT (1997) webcat database helper question (2000) autocommit problem (1998) Buying sans cart (1997) Extended [ConvertChars] (1997) WebDNA 4.5 & iTools 7 (2003) FTP (1999) php vs WebCatalog (2000) [WebDNA] How much does it cost now? (2008) WebCat2b12 - nesting [tags] (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) I have observed and I am gone. (1998) Lambada for Macintosh is Here! (1996) Timer Values on [redirect] (1998) Document contains no data... (1999) [WebDNA] Ping....testing....1..2..3.. (2009) URGENT! ACGI Stopped!!!! (1997) version history page for webcat on the SM site? (2000) WebCommerce Security Alert! (1996)