Further tests with the infamous shipCost

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10942
interpreted = N
texte = I just ran another test on our shipCost problem where the complex formula below was applied to it via a hidden input field (I took it out of the formula db). This doesn't work either, even though this very same formula on the final_invoice.tmpl works.0.5][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=half_lb][/hi deif] [showif [math][lineItems][quantity]*[textB]+[/lineItems]0[/math]>0.5][hideif [math][lineItems][quantity]*[textB]+[/lineItems]0[/math]>5][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=[math]ceil([ lineItems][quantity]*[textB]+[/lineItems]0)[/math]][/hideif][showif [math][lineItems][quantity]*[textB]+[/lineItems]0[/math]>5][math][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=5]+(ceil([li neItems][quantity]*[textB]+[/lineItems]0)-5)*[lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=addl_lb][/ma th][/showif][/showif]>Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: Further tests with the infamous shipCost (Sven U. Grenander 1997)
  2. Further tests with the infamous shipCost (w curt eggemeyer 1997)
I just ran another test on our shipCost problem where the complex formula below was applied to it via a hidden input field (I took it out of the formula db). This doesn't work either, even though this very same formula on the final_invoice.tmpl works.[math][lineitems][quantity]*[textB]+[/lineItems]0[/math]>0.5][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=half_lb][/hi deif] [showif [math][lineitems][quantity]*[textB]+[/lineItems]0[/math]>0.5][hideif [math][lineitems][quantity]*[textB]+[/lineItems]0[/math]>5][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=[math]ceil([ lineItems][quantity]*[textB]+[/lineItems]0)[/math]][/hideif][showif [math][lineitems][quantity]*[textB]+[/lineItems]0[/math]>5][math][lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=5]+(ceil([li neItems][quantity]*[textB]+[/lineItems]0)-5)*[lookup db=country_cost_list.db&lookInField=country&value=[hideif [ShipToCountry]=Specify_Country][ShipToCountry][/hideif][showif [ShipToCountry]=Specify_Country][Country][/showif]&returnField=addl_lb][/ma th][/showif][/showif]>Curt ---------------------------------------------------------------------- | William Curt Eggemeyer Curt@mail.bzzzzzz.com | | BeeHive Technologies, Inc. | | http://www.bzzzzzz.com with a WebCam in Pasadena, California | ---------------------------------------------------------------------- w curt eggemeyer

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:

help testing quicktime delivery (1997) For those of you not on the WebCatalog Beta... (1997) can WC render sites out? (1997) [SHOWNEXT] Examples (1997) users.db (1999) upgrading (1997) WebCat2b13MacPlugIn - more [date] problems (1997) GMT question (2004) LOOP and IF statements (1997) Secure server question (1997) Emailer setup (1997) Emailer setup (1997) RAM variables (1997) [WebDNA] php -> WebDNA: Can I do this with [tcpconnect]? (2013) [WebDNA] Barcode (2014) Attn: Bug in GeneralStore example b15 (1997) taxTotal (1997) Limitations on fields? Server is crashing (1997) Cookies (1998) using showpage and showcart commands (1996)