Shiping problem
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24802
interpreted = N
texte = Hi all,I'm trying to calculate a special shiping cost based in weight and distance.I have in the products.db a field called unitshipcost for each product, this is a number calculated based in the weight of the item.in the shipcosts.db i have the cities that I can ship the product and a factor based in the distance for each city.in the invoice.tmpl I have for each item a [math] context to calculate unitshipcost*shipcity something like:[math][unitShipCost]*[lookup db=ShipCosts.db&value=[shipVia]&lookinfield=ShipCity&returnfield=ShipCost][/math]This work fine, but how can I calculate the shiptotal?Any Idea?ThanksRodolfo de la Garza-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go 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:
|
- Shiping problem (Rodolfo de la Garza 1999)
|
Hi all,I'm trying to calculate a special shiping cost based in weight and distance.I have in the products.db a field called unitshipcost for each product, this is a number calculated based in the weight of the item.in the shipcosts.db i have the cities that I can ship the product and a factor based in the distance for each city.in the invoice.tmpl I have for each item a [math] context to calculate unitshipcost*shipcity something like:[math][unitShipCost]*[lookup db=ShipCosts.db&value=[shipVia]&lookinfield=ShipCity&returnfield=ShipCost][/math]This work fine, but how can I calculate the shiptotal?Any Idea?ThanksRodolfo de la Garza-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go 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
Rodolfo de la Garza
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:
Frames and WebCat (1997)
international time (1997)
RE: strip .0 off off IPaddress (1998)
Dummy Credit Card Number for debug? (1997)
[WebDNA] eTrader.TV (2009)
Applescript, WebDNA, and PDF (1997)
How true is this? (1999)
Hummm .... (2002)
Security (1998)
Re:2nd WebCatalog2 Feature Request (1996)
Pirated WebCat? NOT... (2003)
Enhancement Request for WebCatalog-NT (1996)
WebCat hosting providers? (1997)
creating a ShipCosts database (1997)
WebMerchant bomb (1998)
SetHeader context (1998)
Possible Bug in 2.0b15.acgi (1997)
gateway application timeouts (1998)
Dumb Question about Docs (1997)
strange [date] behavior (2001)