Re: MATH PROBLEM
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15120
interpreted = N
texte = >This works OK if the fields are called [price] and [unitshipcost]>The problem is that I cannot call them this way, because I have other fields >called this name in the same database. So in some cases I have to use>[math][value]+[delivery][/math] instead of price and unitshipcost. In >this case the total does not work.Then you need to change your formulas.db unitShipCost formula to use whatever field you consider to be the true shipCost. Probably a [Lookup] based on SKU that finds the value of [delivery]. Look at the formula for price as an example.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>This works OK if the fields are called [price] and [unitshipcost]>The problem is that I cannot call them this way, because I have other fields >called this name in the same database. So in some cases I have to use>
[math][value]+[delivery][/math] instead of price and unitshipcost. In >this case the total does not work.Then you need to change your
formulas.db unitShipCost formula to use whatever field you consider to be the true shipCost. Probably a
[lookup] based on SKU that finds the value of [delivery]. Look at the formula for price as an example.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
Newbie Question about seeting price to 0 (1998)
Secure server question (1997)
Rotating photo gallery (2004)
Trouble with formula.db (1997)
unable to launch acgi in WebCat (1997)
Copy and paste text into form fields....... (2005)
docs for WebCatalog2 (1997)
ShipCost Data Base (1998)
No incentive ... (2000)
Encrypt (1999)
[isfile] ? (1997)
OT-test (1998)
RedHat dropping 7.x 8.x and 9.x - What linux for WebDNA? (2003)
[WebDNA] [then] statement not showing (2012)
Random sort is not random at all..... (2000)
WebMerchant 1.6 and https (1997)
Problems searching from a FORM (1997)
https validation (2001)
More on the email templates (1997)
please anybody help (2005)