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:
Database Upload (2000)
[showif] and equality (1998)
using showpage and showcart commands (1996)
tracking variables across a site... (2000)
Nested tags count question (1997)
unitshipcost vs shipcosts (1997)
sending formatted e-mail? (1998)
the dreaded unitShipCost (2003)
a little OT (2001)
Multiple prices (1997)
users change an email address (2002)
PCS Frames (1997)
Looking for a Manual (1997)
Help name our technology! (1997)
[WebDNA] lighttpd and gzip compression with webdna? (2015)
WebCatalog and Dreamweaver (1999)
searching for items that begin with a number (2004)
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
Where has WebDNA shown up in your life? (2003)
emailer (1997)