Re: Trouble with formula.db
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10915
interpreted = N
texte = Hi Curt,>I have placed the exact same formula (below) in the final_invoice.tmpl >page (to see that it does work) that I have in the formula.db for >shipCost.>>[hideif [totalWeight]>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]...
...I've looked at your code too and I don't see anything wrong. I supect that we are wrong in assuming that the exact same syntax is supposed to be used in formulas, but I didn't find an example that showed what the differences should be, if any.Here I thought we'd comprehended the formulas :-)-Sven_____________________________________________________________________ Sven U. Grenander BeeHive Technologies, Inc. http://www.bzzzzzz.com - with a WebCam in Pasadena, California_____________________________________________________________________
Associated Messages, from the most recent to the oldest:
Hi Curt,>I have placed the exact same formula (below) in the final_invoice.tmpl >page (to see that it does work) that I have in the formula.db for >shipCost.>>[hideif [totalWeight]>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]......I've looked at your code too and I don't see anything wrong. I supect that we are wrong in assuming that the exact same syntax is supposed to be used in formulas, but I didn't find an example that showed what the differences should be, if any.Here I thought we'd comprehended the formulas :-)-Sven_____________________________________________________________________ Sven U. Grenander BeeHive Technologies, Inc. http://www.bzzzzzz.com - with a WebCam in Pasadena, California_____________________________________________________________________
Sven U. Grenander
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:
[WebDNA] site becomes unavailable and WebCatalog warnings (2017)
Credit card processing - UK (1997)
question: search return in order (1997)
Re: (1997)
Help with Shipping Costs (1997)
Admin User - Users.db (1999)
OFF TOPIC: Sendmail problem (2003)
Calculating multiple shipping... (1997)
Can [writefile] files be served thru webcat? (2000)
Re:Variable Math (1998)
[WebDNA] triggers.db "next execute" fails to update (2012)
Weird error/limit - something amiss? (1997)
Variables for chat (1997)
How true is this? (1999)
[Capitalize] (1998)
problem with NT beta (1997)
Associative lookup style? (1997)
Email address checker (2002)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Why is deleting so slow? (2002)