Formulas.db not working
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66163
interpreted = N
texte = Hi all.Been a really long time since I used Formulas.db for anything. Anyhow, I am trying to setup a discount on 1 item in the catalog. I have a very simple formula:price
[showif [sku]=12345][lookup db=catalog.txt&lookInField=sku&value=[sku]&returnField=price]/2[/showif]Anyhow.. this is not working (does not return any change in price). Even if I change my formula to just return a hard coded value such as 999 I get no change in price.The file is in the directory with the rest of the templates and is named Formulas.dbMac OS X Sever 10.3 - Apache - WebDNA v. 6.xThanks for any assistance.- Charles--RightCode, Inc.900 Briggs Road #130Mount Laurel, NJ 08054P: 856.608.7908F: 856.439.0154E: ckline@rightcode.net-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi all.Been a really long time since I used formulas.db for anything. Anyhow, I am trying to setup a discount on 1 item in the catalog. I have a very simple formula:price[showif [sku]=12345][lookup db=catalog.txt&lookInField=sku&value=[sku]&returnField=price]/2[/showif]Anyhow.. this is not working (does not return any change in price). Even if I change my formula to just return a hard coded value such as 999 I get no change in price.The file is in the directory with the rest of the templates and is named formulas.dbMac OS X Sever 10.3 - Apache - WebDNA v. 6.xThanks for any assistance.- Charles--RightCode, Inc.900 Briggs Road #130Mount Laurel, NJ 08054P: 856.608.7908F: 856.439.0154E: ckline@rightcode.net-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Charles Kline
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:
WC1.6 to WC2 date formatting (1997)
this works sometimes and sometimes not (1997)
using showpage and showcart commands (1996)
Status? (2000)
absolute paths for databases? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Password and Allow commands (1998)
[WebDNA] Mass email using WebDNA (2008)
Webcat version 4.x (2005)
Re:Need help... (1997)
Where's Cart Created ? (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Not really WebCat (1997)
Oracle XE (2006)
A Toughie (1998)
Emails are Stuck (2003)
[WebDNA] .html suffix (2014)
Searchtitle (2000)
DON'T use old cart file! (1997)
PCS Emailer's role ? (1997)