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:
Which beta for w* 4.1 and a problem w/b12 (1999)
Searching multiple fields (1997)
Database cloning, or possible hack? (2003)
ReturnRaw context (1997)
Users.db [encrypt seed=????] (1998)
Press Release hit the NewsWire!!! (1997)
Search (1997)
smithmicro.com website? (2004)
Cart questions (1997)
Trouble with Netscape (1998)
Upgrading from 2.1 to 3.0.7 (2000)
WebDNA to IM connectivity? (2006)
passing user info on each page (2000)
Upload and WebCat (1998)
Document Contains No Data (1998)
WebCat2 several catalogs? (1997)
Bug Report, maybe (1997)
WebCatalog for Mac 2.0.1 Released (1997)
unique ascending numbers (2003)
Passing info in [Addlineitem] (1997)